From 7d23a79b9378abb8296f60d4639e12d4460c673f Mon Sep 17 00:00:00 2001 From: "promptless[bot]" <179508745+promptless[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2026 19:54:57 +0000 Subject: [PATCH] Add SSL certificate verification troubleshooting for Flash deploy --- flash/troubleshooting.mdx | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/flash/troubleshooting.mdx b/flash/troubleshooting.mdx index a2004f54..ea3bac4f 100644 --- a/flash/troubleshooting.mdx +++ b/flash/troubleshooting.mdx @@ -246,6 +246,35 @@ rm -rf .flash flash build ``` +### SSL certificate verification failed + +**Error:** +``` +SSL certificate verification failed. This usually means Python cannot find your system's CA certificates. +``` + +**Cause:** Python cannot locate the system's trusted CA certificates, preventing secure connections during deployment. This commonly occurs on fresh Python installations, especially on macOS. + +**Solution:** Try one of these fixes: + +1. **Install certifi and set the certificate bundle path:** + ```bash + pip install certifi + export REQUESTS_CA_BUNDLE=$(python -c "import certifi; print(certifi.where())") + ``` + +2. **macOS only:** Run the certificate installer that comes with Python. Find it in your Python installation folder (typically `/Applications/Python 3.x/`) and run `Install Certificates.command`. + +3. **Add to shell profile for persistence:** + ```bash + echo 'export REQUESTS_CA_BUNDLE=$(python -c "import certifi; print(certifi.where())")' >> ~/.bashrc + source ~/.bashrc + ``` + + +Transient SSL errors (like connection resets) are automatically retried during upload. The certificate verification error requires manual intervention because it indicates a system configuration issue. + + ### Resource provisioning failed **Error:**