Python package for providing Microsoft's CA Bundle.
Project description
This package provides easy access to the Root Certificate Authorities present in the Microsoft Trusted Root Program. It is a fork of Kenneth Reitz’s certifi project, which provides access to Mozilla’s collection of Root Certificates.
Warning: Microsoft’s CA Program allows granular CA deprecation, which is not properly supported by certificate bundle files. This means that using this bundle may result in improper trust being applied, e.g. trusting certificates that are not actually trusted in their current use.
It is therefore highly recommended to use certifi instead for almost all needs, except in cases where the Microsoft store is specifically required, such as in the signify project.
Installation
mscerts is available on PyPI. Simply install it with pip:
$ pip install mscerts
Usage
To reference the installed certificate authority (CA) bundle, you can use the built-in function:
>>> import mscerts >>> mscerts.where() '/usr/local/lib/python3.7/site-packages/mscerts/cacert.pem'
Or from the command line:
$ python -m mscerts /usr/local/lib/python3.7/site-packages/mscerts/cacert.pem
Addition/Removal of Certificates
This package is simply a mirror of the Microsoft store, and does not support any addition/removal or other modification of the CA trust store content. The sole provider of certificates in this store is Microsoft. See https://aka.ms/RootCert for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mscerts-2024.3.27.tar.gz
.
File metadata
- Download URL: mscerts-2024.3.27.tar.gz
- Upload date:
- Size: 605.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04bdb6dc048994e5114b6fa2597bac561a2e841958622f5f747d827a9c597dae |
|
MD5 | 238df78f32cdedb86d1ba5fd7f83a8e6 |
|
BLAKE2b-256 | 3e801e4fd0d0b146311c86b995781d60e16c52e2ec3c5bda4dbf49feff03ec4f |
File details
Details for the file mscerts-2024.3.27-py3-none-any.whl
.
File metadata
- Download URL: mscerts-2024.3.27-py3-none-any.whl
- Upload date:
- Size: 604.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a910d120b3ab3f654a5623cb3592d331efe85254d6fea91cb641798f6404dcf |
|
MD5 | b481090d3c277450c1008988743580a9 |
|
BLAKE2b-256 | 14b25011f5c1b13702b4d15662eca5b986bc71a0b438fc353ae4e3a7b7db7858 |