SynoCommunity / spksrc

Cross compilation framework to create native packages for the Synology's NAS
https://synocommunity.com
Other
3.02k stars 1.23k forks source link

git: SSL certificate problem, unable to get local issuer certificate #3843

Closed Mickroz closed 4 years ago

Mickroz commented 4 years ago

after updating to Git 2.24.1-12, i keep getting for example:

fatal: unable to access 'https://github.com/SickChill/SickChill.git/': SSL certificate problem: unable to get local issuer certificate

This happens aswell when i manually pull a git, or clone a git. I've tried reinstalling Git, but didn't work.

Mickroz commented 4 years ago

Ok, so after many tries, and posting this issue, i finally fixed this by running this as root on my diskstation:

git config --system http.sslCAInfo /etc/ssl/certs/ca-certificates.crt

now, everything works again.

ymartin59 commented 4 years ago

@Mickroz Thanks for reporting. I will look for a way to include fix in package itself.

hgy59 commented 4 years ago

@ymartin59 I fixed this and am working on updates of curl and git

BatyaGurAriye commented 2 months ago

I had the same error, I ran the command you gave and this is what I got

error: could not lock config file C:/Program Files/Git/etc/gitconfig: Permission denied