hey folks,
when i try to git clone a repository, i get:
SSL certificate problem: unable to get local issuer certificate
tried updating cacerts, to no avail.
any ideas?
hey folks,
when i try to git clone a repository, i get:
SSL certificate problem: unable to get local issuer certificate
tried updating cacerts, to no avail.
any ideas?
Install openssh package
# tazpkg -gi openssh
Install cacerts package
# tazpkg -gi cacerts
In your HOME directory create a GIT config file. Open the terminal in your home
directory.
*** Please, create the file as a regular user. Not root! ***
Copy and paste the code into the terminal and run to create the .gitconfig
file.
----------------code
cat > ~/.gitconfig << EOF
[http]
sslVerify = true
sslCAinfo = /etc/ssl/ca-bundle.crt
EOF
----------------code
Test now.
$ git clone https://github.com/username/example.git
Working. Thanks a lot, man!
Greetings.
You must log in to post.