rogerxu / git-tips

Tips for Git
Apache License 2.0
2 stars 3 forks source link

SSL Certificate #40

Open rogerxu opened 5 years ago

rogerxu commented 5 years ago

version control - How can I make git accept a self signed certificate? - Stack Overflow

rogerxu commented 5 years ago

Self Signed Certificate

Ignore

$ git config --global http.sslVerify false

CA Cert (Recommended)

$ git config --global http.https://example.com.sslCAInfo C:/dev/certs/CA.crt