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.11.17

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.11.17
File Size Uploaded Provenance Actions
mscerts-2026.11.17.tar.gz 716.8 kB Without provenance Details for mscerts-2026.11.17.tar.gz

Built distribution (wheel)

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

Total release size: 1.4 MB

Release files / mscerts-2026.11.17.tar.gz

Download URL mscerts-2026.11.17.tar.gz
Size 716.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5a13a5c235b24abdaeb86272c2c4384d9dd06b4386e9f36a499dc41c53f97dea
BLAKE2b-256 checksum
How to use checksums
fb1ed78981e4e7ec407bf04802cf02c8da85f9d5128abeba06233f0666790d96
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.11.17-py3-none-any.whl

Download URL mscerts-2026.11.17-py3-none-any.whl
Size 715.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2615cb8c0109d96a52f879cab3b32aa519a39ff1b9f2e2167fee0334d0eede25
BLAKE2b-256 checksum
How to use checksums
93a2ff00969bffcdb05edd7d1cb2a0ebedc3dd505fee6a3af14e04a5904e0671
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.11.17

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