You will need to change more than just REQUESTS_CA_BUNDLE
to use custom certificate. Python libraries don't all follow REQUESTS_CA_BUNDLE
You need to also add your certificate to your OS
In conda we have to export SSL_CERT_FILE=~/ca-bundle.crt
etc ...
Answered
Hello, I Recently Start To Running Into Sslerror When Using Task.Init():
Hello, I recently start to running into SSLError when using Task.init():
2025-03-03 12:30:55,981:WARNING:urlopen:Retrying (Retry(total=239, connect=240, read=240, redirect=240, status=240)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)'))': /auth.login
the most relevant change recently i can think of is that I have to setup export REQUESTS_CA_BUNDLE=~/internalrust.pem
for internal ca requirement. I feel this may cause some conflict in clearml internal setup in task.init. How would I fix this situation? Is there some configuration I can do for clearml to let it know where it should look for the correct ca file?
66 Views
1
Answer
12 days ago
11 days ago
Tags