Cert Session
Background
http://westside-consulting.blogspot.com/2019/10/certsession.html
Summary
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.
Installation
pip install cert_session
Usage
from certsession import Session
session = Session('/path/to/my-root-certificates.pem')
response = session.get('https://my-web-service/...')
assert response.status_code == 200
Metadata
Release files for cert-session 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cert_session-0.0.3.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cert_session-0.0.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / cert_session-0.0.3.tar.gz
| Download URL | cert_session-0.0.3.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d329eba1e8357f283f5955d4f256d343befbaa7cd604bf4bd26ec63b60223722
|
|
BLAKE2b-256 checksum How to use checksums |
10f7c8e4559e408417e7f63c21efde3a7939998a67eca10ab6f7464ac558d09e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5rc1
|
Release files / cert_session-0.0.3-py2.py3-none-any.whl
| Download URL | cert_session-0.0.3-py2.py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6ce91fa06d7061f1a66c2130f2a23390c1a37fc57425e9b2c2ac92d2dfdcfb27
|
|
BLAKE2b-256 checksum How to use checksums |
637cdc87604ce9435b0bbc938eb299a7a1b8291ece3655a1aabd28bc85584cdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5rc1
|