Created
April 23, 2018 09:23
-
-
Save devhero/da6695bf57f2a200a1ade13b8131f8ee to your computer and use it in GitHub Desktop.
setuptools git ssl
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
# https://stackoverflow.com/questions/11621768/how-can-i-make-git-accept-a-self-signed-certificate#11622001 | |
# copy public key from remote git host into pub file: | |
~/.ssh/id_rsa_custom1.pub | |
# edit global git config | |
~/.gitconfig | |
# add certificate | |
[http "https://example.com"] | |
sslCAInfo = ~/.ssh/id_rsa_custom1.pub | |
sslCAPath = ~/.ssh/ | |
sslVerify = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment