SSL Certificate Error
Use this when running dataset registration scripts and you get:
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED]
Fix
-
Download Roche G3 Root CA.
-
Rename it to roche_root.crt.
-
Install helper tools:
pip install certifi pip install dos2unix -
Find certifi bundle path:
import certifi certifi.where() -
Append Roche root certificate to the certifi bundle:
cat roche_root.crt >> /path/to/cacert.pem -
If required, normalize line endings:
dos2unix /path/to/cacert.pem
If it still fails, contact #ext-ecdi-v7.