Problem solve Get help with specific problems with your technologies, process and projects.

Quick fix to Git's fatal 'unable to access SSL certificate' error

You may run into the Git ‘unable to access GitHub or GitLab’ SSL certificate settings error when attempting to clone a repository. There’s a quick fix you can run at the command line:

git config --global http.sslverify "false"

That will turn off SSL during the git clone operation and allow you to push and pull back and forth to your server.

Of course, with SSL turned off, your secrets may not be safe. Any old packet sniffer on the network might capture your git clone operation and discover your organization’s commit history. So be sure you’re not violating any security policies of your organizations when you do this. But if it’s just a public project you’re cloning, I wouldn’t worry too much about SSL.

 

 

 

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

SearchAppArchitecture

SearchSoftwareQuality

SearchCloudComputing

SearchSecurity

SearchAWS

Close