Mitch
09/09/2024, 7:14 PMssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain
Marvin
09/09/2024, 7:14 PMMitch
09/09/2024, 7:15 PMMarvin
09/09/2024, 7:17 PMSSL_CERT_FILE
environment variable to point to that bundle.
2. Disable certificate verification:
You can set the PREFECT_API_TLS_INSECURE_SKIP_VERIFY
environment variable to True
to disable certificate verification altogether. Note, this is insecure and only suggested for testing purposes.
Here's a more concise summary from the documentation:
"If you're using a self-signed SSL certificate, you need to configure your environment to trust the certificate. Add the certificate to your system bundle and configure the SSL_CERT_FILE
environment variable to use that bundle. Alternatively, set PREFECT_API_TLS_INSECURE_SKIP_VERIFY
to True
to disable certificate verification."
Link to reference: Prefect Installation Guide
For more detailed instructions, visit Prefect Installation Guide.