Sourcetreeでは、SSL証明書の検証確認をしないオプションも利用できます。このオプションを利用すると、自組織のCA証明書が配置されていなくても
リポジトリの操作をすることができます。設定手順についてはこちらの記事を参照してください。
C:\Users\Penta\AppData\Local\Atlassian\SourceTree\git_local\mingw32\ssl\certs
ca-bundle.crt
ca-bundle.trust.crt
ファイルがデフォルトで配置されているファイルです。今回、自組織のCA証明書ファイル iPentec-CA-ACA.cer
ファイルを追加で配置しています。C:\Users\Penta\AppData\Local\Atlassian\SourceTree\git_local\etc\gitconfig
[http "(接続するgitホスト)"]
sslCAinfo = (参照するSSL証明書のパス)
[core]
symlinks = false
autocrlf = true
fscache = true
[color]
diff = auto
status = auto
branch = auto
interactive = true
[pack]
packSizeLimit = 2g
[help]
format = html
[diff "astextplain"]
textconv = astextplain
[rebase]
autosquash = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[credential]
helper = helper-selector
[core]
symlinks = false
autocrlf = true
fscache = true
[color]
diff = auto
status = auto
branch = auto
interactive = true
[pack]
packSizeLimit = 2g
[help]
format = html
[http "https://kobako"]
sslCAinfo = /ssl/certs/iPentec-CA-ACA.cer
[diff "astextplain"]
textconv = astextplain
[rebase]
autosquash = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[credential]
helper = helper-selector