Найдите путь к сертификации для Python
# install certifi package
pip install certifi
# get cert location
(python)>>import certifi
(python)>>certifi.where()
/usr/local/lib/python3.7/site-packages/certifi/cacert.pem
Tense Tarantula