Programmers learn & share
0 votes
87 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

by (6.9k points)   | 87 views

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

by (36.1k points)  
2,204 questions
2,608 answers
59 comments
241 users