MarcoM
02/12/2025, 1:35 PMMarvin
02/12/2025, 1:36 PMssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain
, often occurs when using a self-signed SSL certificate. Here are a few potential solutions:
1. Trust the Certificate: You can add the self-signed certificate to your system's trusted certificate bundle. This involves configuring the SSL_CERT_FILE
environment variable to point to the certificate file.
2. Disable SSL Verification: If trusting the certificate is not feasible, you can set the environment variable PREFECT_API_TLS_INSECURE_SKIP_VERIFY
to True
to bypass SSL verification. However, note that this is insecure and should only be used as a last resort or in a development environment.
3. Proxy Configuration: If you are using a proxy, ensure that it is configured correctly. There have been issues reported where NO_PROXY
settings were not respected, leading to SSL errors (GitHub Issue).
For more detailed guidance, you can refer to the Prefect documentation on handling self-signed certificates here.
If these steps don't resolve your issue, consider checking for any open issues or discussions on the Prefect GitHub repository.Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by