'requests' session that appends custom certificate authority
This package provides an object, CertSession, based on requests.session that takes an alternate issuer certificate or issuer certificates collection as its single argument. Subsequent http requests made with this object will use both the given issuer certificate collection as well as the certificate collection provided by certifi.
pip install cert_session
from certsession import Session session = Session('/path/to/my-root-certificates.pem') response = session.get('https://my-web-service/...') assert response.status_code == 200
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
cert_session-0.0.3.tar.gz (2.8 kB view hashes)
Hashes for cert_session-0.0.3-py2.py3-none-any.whl