• Register
0 votes

Problem :

I can push by clone project using ssh but it is not working for me getting following error

server certificate verification failed. cafile: /etc/ssl/certs/ca-certificates.crt crlfile: none

6 5 3
6,930 points

1 Answer

0 votes

Solution :

No need to set git ssl verification to set to false. It is caused usually when the system does not have the all CA authority certificates in place. Mostly people who have genuine SSL certificate missing some intermediate certificate.

Just need to add the complete text of intermediate certificate to

sudo gedit /etc/ssl/certs/ca-certificates.crt 

and it will work without running the update-ca-certificates.

Same is true for manually generated certificates, just need to add the CA certificate text.

At the end  your Push will be successful and Everything will be up-to-date

9 7 4
38,600 points

Related questions

0 votes
1 answer 46 views
Problem : I have the Java web service client, which consumes the web service via HTTPS. When I try to connect to the service URL (https://AAA.BBB.CCC.DDD:9443/ISomeService ), I get the exception as below: “ Java.security.cert.CertificateException: No subject alternative names present.”
asked Jan 21 jwilliam 3.9k points
0 votes
1 answer 105 views
Problem : I have a Java web service client, which consumes a web service via HTTPS. When I connect to the service URL, I get the exception java.security.cert.CertificateException: No subject alternative names present.
asked Oct 22, 2019 peterlaw 6.9k points
0 votes
1 answer 96 views
Problem : Since I upgraded the existing project with the iOS 9, I keep getting the below error : “An SSL error has occurred and a secure connection to the server cannot be made.”
asked Jan 4 alecxe 7.5k points
0 votes
1 answer 3 views
0 votes
1 answer 132 views
Problem : I have a problem in IE9 with the security certificate. When I went to specific address I got below error “There is a problem with this website's security certificate.” How can I avoid the reappearance of this window?
asked Jan 28 jwilliam 3.9k points