gitssldigital-signaturemsysgit

Using git with a proxy that rewrites SSL certificates


at $WORK, we have to use an introspecting web proxy that rewrites the SSL certificate chain. I can verify this by using curl to get an https URL or running (o.k., trying to run :-) ) the firefox plugin updater.

The windows port of GIT, http://code.google.com/p/msysgit/, also complains about broken certificates. Is there a way to force it to ignore certificate problems?

Regards, Hakan


Solution

  • Set the GIT_SSL_NO_VERIFY environment variable to true.

    Ex:

    $ env GIT_SSL_NO_VERIFY=true git pull