Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1.23 KB

README.md

File metadata and controls

24 lines (15 loc) · 1.23 KB

Certificate bundle with EGI Core Trust Anchor for Python requests

This is a simple script to download and install Python requests certificate bundle with EGI Core Trust Anchor certificates included.

It is intended for development/testing (e.g. Python Virtual Environments with virtualenv/venv) where users do not have root access to install certificates properly via apt/yum package or do not want to do so. For production environment, you should follow instructions from there.

USE IT AT YOUR OWN RISK.

Usage:

Download and execute the script "install_certs.sh". That will find the location of certificate bundle used by Python requests, make a backup copy then add certificates downloaded from IGTF.

Change "python" to "python3" in the script if needed.

$ wget https://raw.githubusercontent.com/tdviet/python-requests-bundle-certs/main/scripts/install_certs.sh

$ bash install_certs.sh

In the case you need to revert the change, simply copy the backup file over the current certificate bundle.