Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

git

macos

ssl

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

like image 366
Volatil3 Avatar asked Jul 23 '14 09:07

Volatil3


1 Answers

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.

like image 139
iHiD Avatar answered Nov 14 '22 12:11

iHiD