Interview Prep/Git & GitHub/Authentication and Remote Access

`fatal: unable to access 'https://github.com/...': SSL certificate problem: unable to get local issuer certificate`

IntermediateTroubleshootingAuthentication and Remote Access
Answer

Likely causes → A corporate proxy re-signs TLS traffic with a private CA that Git does not trust, or the system CA bundle is outdated.

Diagnose →

GIT_CURL_VERBOSE=1 git ls-remote https://github.com/ORG/REPO 2>&1 | grep -i -E "ssl|certificate"
git config --show-origin --get http.sslCAInfo

Fix → Point Git to a bundle that includes the corporate root: git config --global http.sslCAInfo /etc/ssl/certs/corp-ca-bundle.pem. On Windows, git config --global http.sslBackend schannel uses the OS store. Do not set http.sslVerify false except as a short diagnostic step.

Prevent → Distribute the corporate CA to dev machines and CI images.

All Git & GitHub questions Roadmap: Git & GitHub

More on Authentication and Remote Access