SSL certificate problem

Problem Description

Upon attempt to clone, error referencing SSL certificate is shown:

error: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3*GET*SERVER_CERTIFICATE:certificate
verify failed while accessing {url}/info/refs
fatal: HTTP request failed

How to Solve

Disabling SSL verification will allow your Git commands to work. Do the following:

  • Launch Git BASH or Terminal in your home directory
  • Type and enter the following command: git config —global http.sslVerify false
  • Verify that the .gitconfig file in your Git install directory (typically C:\Users\Git on Windows machines) contains the new entry (other entries may be there based on previous user custom configuration additions):

[user] name = Fred Flinstone email = [fred@slate.urg] [gui] recentrepo = C:/Users/fred/Git/myCode sslVerify = false

  • Attempt the git command again. You should no longer see errros due to SSL certificate verifications.

Alternate Methods

There are other methods available to configure this setting…

export GIT_SSL_NO_VERIFY=true

or, depending on your $SHELL, you’ll need to use…

set GIT_SSL_NO_VERIFY=true

During Downtime

This type of error can also occur when there is some work going on the server and the certificate becomes unavailable for a short time. Our certificates are Verisign signed, so users should not have to do this step in order to be successful at cloning a Distro repository.

Cygwin Conflict

This error can happen on systems where Git and Cygwin are installed on the same system. The fix is to uninstall Cygwin and install the latest version of Git again.