Skip to content

Instantly share code, notes, and snippets.

@jzi96
Created April 12, 2013 12:16
Show Gist options
  • Save jzi96/5371614 to your computer and use it in GitHub Desktop.
Save jzi96/5371614 to your computer and use it in GitHub Desktop.
Some notes for the usage of GITHUB within a company network with msysgit.
edit C:\Program Files\Tools\GIT\etc\gitconfig
In section [http]
proxy = http://jzieschang:password@<proxy-server>:8080
add "git config --global http.sslVerify false"
on commandline:
env GIT_SSL_NO_VERIFY=true git clone ....
??? DOES NOT WORK ????
http://stackoverflow.com/questions/3777075/ssl-certificate-rejected-trying-to-access-github-over-https-behind-firewall/4454754#4454754
wget -O - http://curl.haxx.se/ca/cacert.pem | awk 'split_after==1{n++;split_a fter=0} /-----END CERTIFICATE-----/ {split_after=1} {print > "cert" n ".pem"}'
curl http://curl.haxx.se/ca/cacert.pem | awk 'split_after==1{n++;split_after=0} /-----END CERTIFICATE-----/ {split_after=1} {print > "cert" n ".pem"}'
c_rehash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment