Last active
August 30, 2017 06:49
-
-
Save ftabashir/f06287693192b946799f9645bd2781f5 to your computer and use it in GitHub Desktop.
this is a how to solve for this git problem: fatal: unable to access 'https://domain.com/path/to/git': SSL certificate problem: unable to get local issuer certificate. REFERENCE: to see original post visit here: https://stackoverflow.com/questions/11621768/how-can-i-make-git-accept-a-self-signed-certificate/26785963#26785963
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SSL Certificate error: | |
- To permanently accept a specific certificate | |
1. Initial clone | |
- GIT_SSL_CAINFO=/path/to/cert.pem git clone https://repo.or.cz/org-mode.git | |
2. Ensure all future interactions with origin remote also work | |
- cd my-repo-directory | |
- git config http.sslCAInfo /etc/ssl/certs/rorcz_root_cert.pem | |
- To disable TLS/SSL verification for a single git command | |
git -c http.sslVerify=false clone https://domain.com/path/to/git | |
- To disable SSL verification for that singular repository | |
git config http.sslVerify false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment