You are not logged in.

#1 2019-12-02 09:22:00

bryanhonof
Member
From: Belgium
Registered: 2019-06-13
Posts: 3
Website

[SOLVED] "server certificate verification failed"

I recently started experiencing weird behavior when trying to `git clone` a repo from github or gitlab and even the AUR.
The error I get is the following:

fatal: unable to access 'https://github.com/xxxxxx/yyyyyyyyy/': server certificate verification failed. CAfile: none CRLfile: none

Things that I tried to do to fix this issue include:

Updating:

stat /etc/ssl/certs/ca-certificates.crt
sudo update-ca-trust

Removing and reinstalling the ca-certificates

# pacman -R ca-certificates{,-mozilla,-utils}
# pacman -S ca-certificates{,-mozilla,-utils}

Checking the system time:

[bryan@GLaDOS ~]$ timedatectl
               Local time: Mon 2019-12-02 10:10:20 CET
           Universal time: Mon 2019-12-02 09:10:20 UTC
                 RTC time: Mon 2019-12-02 09:10:21
                Time zone: Europe/Brussels (CET, +0100)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

I belive this is correct.

While writing this post I remembered that I recently installed gnu guix to play with it.
Now I must have installed something that depends on git, since guix installed git.
I think this must have overwritten the default git-exec-path since it did not point at /usr/lib/git-core like it used to.
It instead pointed at /home/bryan/.guix-profile/libexec/... .
Now I do not know why this happend to go wrong, maybe because I had 2 different git versions installed?

I fixed it by removing the git package from guix followed up by a simple log out and log in and everything worked as before.

guix package --remove git

Offline

Board footer

Powered by FluxBB