Forked from bygreencn/goagent proxy SSL certificate for git
Created
June 22, 2014 16:32
Revisions
-
bygreencn created this gist
Apr 9, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ #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 ""