ssl - How to add an enterprise certificate authority (CA) to git on cygwin (and some linux distros) -


When you get GIT on Sigwin:

  The original is fatal : Unable to access 'Https: //.../...git': SSL certificate problem: Authenticated certificate error in certificate chain error: original could not be fetched  
< P> The certificate was added to /etc/ssl/certs/ca-bundle.crt and, but the problem in the next signup update was over again.

git-remote-https read the following files for CE certificates Will:

  /etc/ssl/certs/ca-bundle.crt /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt  

If you edit these files, there is an update for the package that will be overwritten each time after the Saigwin setup is run.

The correct / proper solution is to add the certificate to the pick up directory and run the pickup script, update-ca-trust:

  curl-ssl http: // Ca.pdinc.us & gt; /etc/pki/ca-trust/source/anchors/ca.pdinc.us.pem \ & amp; Amp; Post-installation script for ca-certificates package will automatically run the Update-CA-Trust script again on every upgrade. For more information:  
  man update - ca-trust  

Comments