Using git with a proxy server that rewrites SSL certificates

at $ WORK, we must use an introspective web proxy that rewrites the SSL certificate chain. I can verify this using curl to get the https url or run (ok, try to run :-)) the firefox plugin update plugin.

The windows GIT port, http://code.google.com/p/msysgit/ also complains about bad certificates. Is there any way to make it ignore certificate issues?

Regards, Hakan

+5
source share
2 answers

Set the environment variable GIT_SSL_NO_VERIFY to true.

Example:

$ env GIT_SSL_NO_VERIFY=true git pull
+7

, , , , . , , , / , , , CA. , , : SSL.

+3

All Articles