SliTaz SliTaz Forum

You are not logged in.

#1 2016-10-13 22:18:25

K3nn3th
Member
Registered: 2014-09-13
Posts: 194

ssl certifiate trouble

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?

Offline

#2 2016-10-16 23:16:16

hackdorte
Member
Registered: 2014-06-05
Posts: 83

Re: ssl certifiate trouble

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

Offline

#3 2016-10-23 23:18:19

K3nn3th
Member
Registered: 2014-09-13
Posts: 194

Re: ssl certifiate trouble

Working. Thanks a lot, man!

Offline

#4 2016-10-24 01:51:54

hackdorte
Member
Registered: 2014-06-05
Posts: 83

Re: ssl certifiate trouble

Greetings.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]