How to solve SSL certificate: self signed certificate when cloning repo from github?

You’re overthinking this. Git requires the SSH key to do the transfer. In order for this to work, you need an account on GitHub. If you have already generated an SSH key pair for other sites, you can reuse that one. All you need to do is log into GitHub.com and copy it there in your settings panel.

If you don’t have an account, make one. If you haven’t generated a key pair, that’s simple:

ssh-keygen -t rsa -C "[email protected]"

Then copy the key to your settings in GitHub.com

There are instructions all over the place on how to do this in various ways. I have a self-signed cert and I was able to clone the repo you listed.

Leave a Comment