Hi @Quentin_Pradet , as a workaround for online execution, I did the below changes.
1st Step : Updating the cacerts
sudo cp ca.crt /usr/local/share/ca-certificates
sudo cp /home/administrator/.local/lib/python3.8/site-packages/certifi/cacert.pem /usr/local/share/ca-certificates
sudo update-ca-certificates
which will update the '/etc/ssl/certs/ca-certificates.crt'
2nd Step: Replacing the default certifi file with the updated one:
- Verify certifi.where() path, in my case it is /home/administrator/.local/lib/python3.8/site-packages/certifi/cacert.pem
- Take a backup of this file just for reference
- Copy the file /etc/ssl/certs/ca-certificates.crt as cacert.pem and replace in the path /home/administrator/.local/lib/python3.8/site-packages/certifi/
So that certifi will find this certificate which has external access now. Basically replacing the default file.
With these steps I was able to execute online mode.
Just sharing it here so that it can help others.