• Register
0 votes
113 views

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.9k 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

36.1k points

Related questions

0 votes
1 answer 40 views
40 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 91 views
91 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 65 views
65 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 88 views
88 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
0 votes
2 answers 192 views
192 views
Problem : I am trying to consume a RESTful service from url https://someurl.com. But I am getting the following error: java security cert certpathvalidatorexception certificate chaining error
asked Oct 23, 2019 peterlaw 6.9k points