SSL Certificate Problem: self signed certificate and how to fix

less than 1 minute read

SSL certificate problem: self signed certificate in certificate

If you are getting the message above the while trying to perform git command like cloning a project, it means the SSL verification from Git server on your ceritificates failed. Either the certificates are invalid or they are missing.


Set up the required certificates in /etc/pki/ca-trust/source/anchors/


While not recommended and considered a potential security risk, you can disable the Git SSL verification until you set up the certificates properly. Use the following command to set SSL verification to false (= turn it off)

git config --global http.sslVerify false