Sometimes you can’t clone because of self-signed certificate:

Cloning into 'a-project'...
fatal: unable to access 'https://example.local/a-project/': schannel: next InitializeSecurityContext failed: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted.

No time to download chain certs, just ignore:

git config --global http.sslVerify false

Source:

https://discourse.gitea.io/t/error-when-cloning-via-https/147/2

Tags: ,

Categories:

Updated: