• Register
0 votes
206 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 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 6 views
6 views
Problem: we have an intranet website. it is self-signed. I added the certificate to the trusted zone. add the site to trusted site and intranet site, but still, get this error. The security certificate presented by this website was issued for a different website's addr
asked Apr 23 ummeshani 8.8k points
0 votes
1 answer 2 views
2 views
Problem: Getting this error .. anyone knows the solution of it? No subject alternative dns name matching
asked 3 days ago Ifra 34.7k points
0 votes
1 answer 62 views
62 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 194 views
194 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 2 views
2 views
Problem: Hello i want to use an API for a website but there an error with my curl command.I want to disable SSL certificate verification.curl: (60) SSL certificate problem: self signed certificate in certificate chain More details here: https://curl.haxx.se/docs/sslcerts ... a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above.
asked 1 day ago sumaiya simi 43.9k points
0 votes
1 answer 3 views
3 views
Problem: I am trying to install a Python library using pip, getting an SSL error: ~/projects/base pre-master pip install xdict Collecting xdict Could not fetch URL https://pypi.python.org/simple/xdict/: There was a problem confirming the ssl certificate: [SSL: ... requirement xdict (from versions: ) No matching distribution found for xdict pip version: pip 9.0.1 How do I fix this error?
asked Apr 25 muktaa 34.4k points
0 votes
1 answer 166 views
166 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 4 views
4 views
Problem: I was looking at few sites and their SSL certificate and I noticed that few SSL certificates shows Issuer[Issued by] as mydomain[myorganisation] Is this some type of certificate, Can someone explain this !
asked Apr 12 ummesalma 29.2k points
0 votes
1 answer 2 views
2 views
Problem: I am trying to read a webpage and am getting the error message that the certificate can not be authenticated. My code is: qurl<-"https://www.chemspider.com/Chemical-Structure.1.html" h <- try(read_html(qurl), silent = TRUE) I can access the webpage no worries directly in ... even R, but without success. I am using R3.4.0 (3.3.3 before re-installing). Any ideas how I can read this webpage)
asked 3 days ago Yeamin 21.4k points
0 votes
1 answer 3 views
3 views
Problem: I am trying to install .net core SDK 2.0.0 on centos 7 following the step on https://www.microsoft.com/net/learn/get-started/linuxcentos when i run the first command sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc Got this error: `curl: (60) ... certificate and curl. But I don't know how to fix it. Also get similar error when i use curl or wget to download https url.
asked 3 days ago Yeamin 21.4k points