In python's requests module documentation, I find this important recommendation:

For the sake of security we recommend upgrading certifi frequently!

Q: How can I make sure that my system's certifi is up to date?

  • How did you install the module? Did you use pip? – Daisetsu Apr 1 at 16:06
  • Not sure if it gets automatically downloaded with the requests module which I installed using pip3? But I tried to pip3 install certifi and got: Requirement already satisfied: certifi in /home/e/.local/lib/python3.6/site-packages – user9371654 Apr 1 at 16:20

Upgrading certifi installed by pip3 can be done using the following

pip3 install certifi --upgrade

Requests just uses the installed certificate module.

  • This is what I get after executing the command: Requirement already up-to-date: certifi in /home/e/.local/lib/python3.6/site-packages. – user9371654 Apr 1 at 17:15
  • Looks like you're up to date then – Daisetsu Apr 1 at 17:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.