Git SSL根CA

我想configuration我的本地Git客户端安装在Microsoft Windows 7 +或Git ca-bundle.crt中使用预加载的根证书。

有没有办法configurationGit使用已经可用的Windows证书(即Comodo,DigiCert)?

ca-bundle.crt文件中已经有哪些根CA证书?

通过configuration选项http.sslCAInfohttp.sslCAPath您可以指示git使用您希望的CA信息。 您可以使用openssl x509 -text -in ca-bundle.crt命令查看其解码的内容。