• 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

Please log in or register to answer this question.

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 51 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, 2020 jwilliam 3.9k points
0 votes
1 answer 122 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 124 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, 2020 alecxe 7.5k points
0 votes
1 answer 11 views
0 votes
1 answer 234 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, 2020 jwilliam 3.9k points
0 votes
2 answers 316 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
0 votes
1 answer 4 views
0 votes
1 answer 112 views
Problem : I really thought that I had this issue fixed, but it was just disguised before. I have the WCF service hosted in my IIS 7 using HTTPS. When I try to browse to this site in the Internet Explorer, it works like a charm, As I have already added the ... used to work with http. Where else should I look as I am completely exhausted I tried all possibilities as to why I am unable to connect?
asked Dec 10, 2019 alecxe 7.5k points
0 votes
1 answer 57 views
Problem : I guess Chrome have released an update over the past week. And this update has caused at least 100 of our internal applications to throw the exception shown below. The solutions I have found over the Internet, talk about updating the ... there anyone who is aware of a similar fix in Chrome? Error Server has a weak ephemeral Diffie-Hellman public key ERR_SSL_WEAK_SERVER_EPHEMERAL_DH_KEY
asked Nov 25, 2019 alecxe 7.5k points