Volatil3
Volatil3

Reputation: 14978

Unable to access Github through Browser or Console due to SSL certificate issue

All of sudden I am getting following error while trying to clone repo.

git clone https://github.com/repo/xxx.git
Cloning into 'hits'...
fatal: unable to access 'https://github.com/repo/xx.git/': SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

I am also getting SSL error while accessing on Chrome Browser enter image description here

This is what I get when get Cert details

enter image description here

I am using 10.6 OSX Leopard

Upvotes: 12

Views: 6167

Answers (2)

iHiD
iHiD

Reputation: 2438

The DigiCert certification has expired. These instructions fix it on OSX (taken from this gist)

  1. Launch Keychain Access
    • ⌘-Space
    • Type "Keychain Access"
    • Hit return
    • List item
  2. Select "Show Expired Certificates" from the "View" menu.
  3. Click the "login" section in the upper-left corner under "Keychains"
  4. Order by Expires column on the RHS.
  5. Look for the expired DigiCert certificate on the RHS. It will have a red X on it and it's expiration date is July 26th (or "today").
  6. Right-click the certificate and select "Delete DigiCert..."

You may need to close and open Chrome to get it working again.

Upvotes: 21

Volatil3
Volatil3

Reputation: 14978

Finally sorted it out. I downloaded my required Certificate from DigiCert website and install in login section of KeyChain.

Upvotes: 0

Related Questions