1472 links
  • Animal
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
  • git - How do I set GIT_SSL_NO_VERIFY for specific repos only? - Stack Overflow

    Quand le mec qui gère un repo distant ne crée pas de certificat SSL, ça donne ça:

    git push origin master
    fatal: unable to access 'https://truc.machin.fr/mon/repo/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

    Pour contourner ce grave problème de sécurité, il faut lancer la commande suivante dans le repo local:

    git config http.sslVerify "false"

    Il ne reste plus qu'à remettre la tête dans le sable...

    Edit : S'il s'agit d'un répo devant être cloné :

    GIT_SSL_NO_VERIFY=true git clone https://url
    cd directory/
    git config http.sslVerify "false"
    March 5, 2018 at 6:20:14 PM GMT+1 * - permalink -
    QRCode
    - https://stackoverflow.com/questions/9008309/how-do-i-set-git-ssl-no-verify-for-specific-repos-only
    SSL Certificat Git stackoverflow.com
Links per page: 20 50 100
Shaarli - The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community - Help/documentation