tech:notes_git_et_cerfificats_https
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| tech:notes_git_et_cerfificats_https [2025/05/26 15:47] – créée Jean-Baptiste | tech:notes_git_et_cerfificats_https [2025/11/05 17:28] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 4: | Ligne 4: | ||
| # Notes git et cerfificats HTTPS | # Notes git et cerfificats HTTPS | ||
| + | Voir aussi : | ||
| + | * [[Git over HTTPS - conf client]] | ||
| - | Ne pas vérifier le certificat HTTPS | ||
| - | ~~~bash | ||
| - | git -c http.sslVerify=false pull | ||
| - | # ou | ||
| - | env GIT_SSL_NO_VERIFY=true git pull | ||
| - | ~~~ | ||
| + | ## Ajouter un certificat | ||
| - | Ajouter un certificat | ||
| ~~~bash | ~~~bash | ||
| # Récupérer le certificat racine | # Récupérer le certificat racine | ||
| Ligne 24: | Ligne 20: | ||
| # Ajouter la nouvelle CA | # Ajouter la nouvelle CA | ||
| git config --global http.sslCAInfo / | git config --global http.sslCAInfo / | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| + | ## Ne pas vérifier le certificat HTTPS (déconseillé) | ||
| + | |||
| + | ~~~bash | ||
| + | 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 | ||
| + | ~~~ | ||
| + | |||
| + | ~~~bash | ||
| + | git config --global http.sslVerify false | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## Autres | ||
| + | |||
| + | Pour utiliser la PKI de windows | ||
| + | ~~~bash | ||
| + | git config --global http.sslBackend schannel | ||
| ~~~ | ~~~ | ||
tech/notes_git_et_cerfificats_https.1748267267.txt.gz · Dernière modification : de Jean-Baptiste
