Git
- Si lors d'un git clone vous avez l'erreur “error: server certificate verification failed”, comme par exemple :
$git clone https://alioth.debian.org/anonscm/git/pkg-wml/pkg-wml.git Initialized empty Git repository in /home/tg/shared/pkg-wml/.git/ error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none while accessing https://alioth.debian.org/anonscm/git/pkg-wml/pkg-wml.git/info/refs fatal: HTTP request failed
- Voila un petit contournement : utiliser GIT_SSL_NO_VERIFY=1 :
$ GIT_SSL_NO_VERIFY=1 git clone https://alioth.debian.org/anonscm/git/pkg-wml/pkg-wml.git Initialized empty Git repository in /tmp/pkg-wml/.git/ warning: You appear to have cloned an empty repository.
- Pour utiliser ce contournement de façon permanente :
echo '[http] sslverify = false' >> ~/.gitconfig