Fix Git/Apache/Curl Self-Signed Cert issue

August 17, 2021 note-to-self

This is mainly a reminder to myself about how to do this, and the link to Matt Ferderer's website with the real instructions:

Real Instructions


Apache curl: C:\xampp73\apache\bin\curl-ca-bundle.crtGit Bash curl: CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt

$ git config --list --show-origin ---> http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt


In php.ini, update these using the same system as doing the git version

Use this file or make copy and enter the copy in both places here:

curl.cainfo=“D:\xampp74\apache\bin\curl-ca-bundle.crt” openssl.cafile=“D:\xampp74\apache\bin\curl-ca-bundle.crt”

Temporarily override (for urgent matters): git -c http.sslVerify=false pull