tech:notes_git_et_cerfificats_https
Ceci est une ancienne révision du document !
Table des matières
Notes git et cerfificats HTTPS
Voir aussi :
Ajouter un certificat
# Récupérer le certificat racine openssl s_client -showcerts -connect git.acme.fr:443 -servername git.acme.fr </dev/null 2>/dev/null | openssl x509 -outform PEM >~/.acme_root_ca.pem # Tester curl --cacert ~/.acme_root_ca.pem -I https://git.acme.fr # Ajouter la nouvelle CA git config --global http.sslCAInfo /home/monuser/.acme_root_ca.pem
Ne pas vérifier le certificat HTTPS (déconseillé)
git -c http.sslVerify=false clone https://url # ou env GIT_SSL_NO_VERIFY=true git clone https://url cd plop git config http.sslVerify false
git config --global http.sslVerify false
tech/notes_git_et_cerfificats_https.1762338935.txt.gz · Dernière modification : de Jean-Baptiste
