Skip to main content

mscerts

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.

Metadata

Release files for mscerts 2026.10.27

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mscerts 2026.10.27
File Size Uploaded Provenance Actions
mscerts-2026.10.27.tar.gz 729.8 kB Without provenance Details for mscerts-2026.10.27.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mscerts 2026.10.27
File Interpreter ABI Platform Actions
mscerts-2026.10.27-py3-none-any.whl Python 3 none any Details for mscerts-2026.10.27-py3-none-any.whl

Total release size: 1.5 MB

Release files / mscerts-2026.10.27.tar.gz

Download URL mscerts-2026.10.27.tar.gz
Size 729.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7a5465ae3043798fa1defdafc4d6be51fd64593523970bfe989427641eca8a1e
BLAKE2b-256 checksum
How to use checksums
2f7abeb950da0699debe8e70bf8dcb9968c377b274aba751725163b430ead3eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / mscerts-2026.10.27-py3-none-any.whl

Download URL mscerts-2026.10.27-py3-none-any.whl
Size 728.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7152052d6b23bbfe23bf26844dc9c2da00299dfb1f48c62889743b6396bcfaab
BLAKE2b-256 checksum
How to use checksums
655c61ecc0567c02873f6077284b013c9a22c126731b6fe1e0956e1483b9976b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for mscerts 2026.10.27

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page