Fixing SSL Certificate Errors in Supervisely
In this tutorial you will learn how to fix errors with SSL certificate
Introduction
{
"message": "Temporary connection error, please wait ...: Retrying (1/10).",
"method": "users.me",
"url": "https://my.company.com/public/api/v3/users.me",
"details": "HTTPSConnectionPool(host='my.company.com', port=443): Max retries exceeded with url: /public/api/v3/users.me (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1131)')))",
"timestamp": "2023-09-28T18:24:48.664Z",
"level": "warn"
}Options to Fix SSL Certificate Errors
Option 1: Supervisely SDK (Recommended)
Step 1. Create .env file with SLY_EXTRA_CA_CERTS variable
Step 2. Test Your Connection
Option 2: CLI
Step 1. Locate the Certificate Bundle
Step 2. Concatenate the Certificate Chain (if needed)
Step 3. Set the REQUESTS_CA_BUNDLE Environment Variable
Step 4. Test Your Connection
Last updated