Reputation: 3644
I'm using Git on openSUSE and receive the following error when trying to clone a Git repository via HTTPS.
$ git clone https://example.com/foo.git
Cloning into 'foo'...
fatal: unable to access 'https://example.com/foo.git/': SSL certificate problem: unable to get local issuer certificate
How do I fix this? I'm an openSUSE novice but am knowledgeable of other Linux distros.
Upvotes: 1
Views: 1387
Reputation: 200
The Root CA certificates are likely not installed on the system.
Install the certificates from the command line:
$ zypper install ca-certificates{,-cacert,-mozilla}
Upvotes: 5