PDA

View Full Version : [ubuntu] Server Certificate Verification Failed



eligible
May 10th, 2017, 02:08 PM
Hi There
I'm using GITLab since the version 8.10.2, I've just upgraded to the latest version 9.1.3 and after that I'm not able to clone my projects, following error occur:

server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

I've done the following steps but no luck ...
apt-get install --reinstall ca-certificates
update-ca-certificates

My OS is Ubuntu 14.04.5 LTS and the Web version with HTTPS is running fine, I've googled a lot but not find a correct way to resolve this issue.

Thanx in Advance

eligible
May 11th, 2017, 07:01 AM
git config --global http.sslverify false


Worked for me, but is it safe?

brad_richards
May 15th, 2017, 07:44 AM
Possibly related? I came here today to ask for help with a browser certificate problem. I have a PC and a laptop with (theoretically) identical Ubuntu 16.04 installations. Starting about a week ago, Firefox and Cisco applications on the PC claim that certain sites have invalid certificates (specific error: "Certificate is from an untrusted source"). Chromium is happy with the certificates. Firefox and Cisco on the laptop also report no problems. I am at a loss to explain why only certain application on one of two "identical" installations would report invalid certificates.

Anyone have any hints as to where to look for the problem?

brad_richards
May 15th, 2017, 12:16 PM
Found the problem, although I don't understand the cause. Apparently Cisco also relies on Firefox for certificates. In Firefox, the certificate database was damaged (certutil could not open it). Deleting the profile and creating a new one solved the problem, both for Firefox and for Cisco AnyConnect. So this is unlikely to be relevant to the original poster's problem with GitLab.