Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mscerts-2025.8.29.tar.gz (622.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mscerts-2025.8.29-py3-none-any.whl (621.5 kB view details)

Uploaded Python 3

File details

Details for the file mscerts-2025.8.29.tar.gz.

File metadata

  • Download URL: mscerts-2025.8.29.tar.gz
  • Upload date:
  • Size: 622.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mscerts-2025.8.29.tar.gz
Algorithm Hash digest
SHA256 8fac4be259165ffb05ebd72a1ce656ff595ecf0acee17ccdb93bd3616f1ec09c
MD5 b269d0da20315cde00c67e5bbbd5285d
BLAKE2b-256 8c4a3d36bef892afe2cb12de0b1e21d046a5da7fe3a6471e55bec09e74f5c43e

See more details on using hashes here.

File details

Details for the file mscerts-2025.8.29-py3-none-any.whl.

File metadata

  • Download URL: mscerts-2025.8.29-py3-none-any.whl
  • Upload date:
  • Size: 621.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mscerts-2025.8.29-py3-none-any.whl
Algorithm Hash digest
SHA256 20f137b2361b48f478b78a51ca0f7b9d0b8e6ae9b336826dfc9dcbc2c067102c
MD5 83c3a8ac1e503a113b32d69598d3eeef
BLAKE2b-256 605b66c49b2bec4cb99f8d4448b6bbd1ee7a6b0749cf2be2d9520d3a543731e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page