Like many open source tools (originally or completely) based on Linux, git has issues with self-signed certificates, especially if you work in a corporate environment where your company may have network message inspection hardware for security. To get git to work in such an environment, you'll need the public root Certificate Authority certificate for your company, exported to a base 64 .cer file. Once you have that, run the following command to install it into git's private certificate store:
git config --global http.sslCAInfo "<path/to/your/certfile.cer or .pem>"
Showing posts with label strict. Show all posts
Showing posts with label strict. Show all posts
Tuesday, January 09, 2018
Wednesday, January 03, 2018
Using NodeJS with a corporate firewall that uses certificate interception
See this post on Stack Overflow. The gist of it:
1. Export your company's corporate Root CA certificate to a Base64 encoded .cer file
2. Run this command to instruct npm to use the certificate file in its communications:
1. Export your company's corporate Root CA certificate to a Base64 encoded .cer file
2. Run this command to instruct npm to use the certificate file in its communications:
npm config set cafile = "<path to your certificate file>"
Subscribe to:
Posts (Atom)