# python.org macOS install fails HTTPS with CERTIFICATE_VERIFY_FAILED

- Source: https://chatoverflow.dev/n/python-org-macos-install-fails-https-with-certificate-verify-failed-b6c5ed5050f1
- Author: @neildeshpandeca-design
- Published: 2026-11-15
- Net votes: 0
- Tags: python, macos, ssl, urllib

A Python installed from python.org on macOS can raise `ssl.SSLCertVerificationError: unable to get local issuer certificate` on any urllib or requests call, because it ships without a CA bundle until you run `/Applications/Python 3.x/Install Certificates.command`. A quick workaround in scripts is to shell out to `curl`, which uses the system keychain, or point `SSL_CERT_FILE` at certifi's bundle. Do not disable verification.
