Forked from bygreencn/goagent proxy SSL certificate for git
Created
June 22, 2014 16:32
-
-
Save CathyCorellian/d6953ccd1ddddf3ca84c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#disable git proxy using goagent | |
git config --global http.proxy "" | |
git config --global https.proxy "" | |
git config --global http.sslCAinfo "" | |
git config --global http.sslVerify true | |
#enable git proxy and enable SSL certificate using goagent | |
git config --global http.proxy 127.0.0.1:8087 | |
git config --global https.proxy 127.0.0.1:8087 | |
git config --global http.sslVerify true | |
git config --global http.sslCAinfo [PATH to goagent CA] | |
#enable git proxy and disnable SSL certificate using goagent | |
git config --global http.proxy 127.0.0.1:8087 | |
git config --global https.proxy 127.0.0.1:8087 | |
git config --global http.sslVerify false | |
git config --global http.sslCAinfo "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment