+3

Clone a repository through HTTPS from with self-signed certificate

Mikael Chudinov 3 years ago updated by Thomas Singer 1 year ago 2

Clone a repository through HTTPS from a repo with self-signed certificate. Enable it per repo in SmartGit GUI.

The question was to enable ssl, not to disable.

I recommend to add following lines to your user's Git config:

[http "https://server:1234/"]
    sslCAInfo = path-to-ca.crt
    sslCert = path-to-client.crt
    sslKey = path-to-client.pem

That way you can use any repository for the configured http://server:1234 and cloning also works.