git clone Error: “server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLf…

I can use ssh by cloning the project, but it doesn’t work when I clone the project with https. it displays the following message error.

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

HR Solutions :

Open the terminal and run the following command:

export GIT_SSL_NO_VERIFY=1

Read More: