Skip to content

tdviet/python-requests-bundle-certs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Short script for installing IGTF certificates for Python

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages