pythonsslurllibroot-certificatecertifi

how do I update root certificates of certifi?


I am using certifi python module to verify ssl connections. I looked at the root certificates included in certifi (python2.7/site-packages/certifi/cacert.pem) and some of those certificates have expired. How do I update those certificates? I tried updating certifi package using pip but that only updates the package and not the root CA files.


Solution

  • certifi/cacert.pem is, naturally, a part of certifi. Consequently, it's supposed to be updated with the module.