Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

webpki-root-certs

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpki-root-certs

Source
crates.io
Version
0.26.11
Version published
Maintainers
1
Created
Source

webpki-root-certs

This is a crate containing Mozilla's trusted root certificates in self-signed X.509 certificate format.

If you are using webpki or rustls you should prefer webpki-roots - it is more space efficient and easier to use.

This crate is inspired by certifi.io and uses the data provided by the Common CA Database (CCADB).

About

The webpki and rustls ecosystem represent trust anchors with the webpki::TrustAnchor type, containing only the data used as inputs for the RFC 5280 certificate path validation algorithm. In some instances (e.g. when interacting with native platform certificate verifiers) it may be required to provide trust anchors as full X.509 self-signed certificates.

Compared to webpki-roots this crate contains the full self-signed certificate DER data for each trust anchor is included in webpki_roots.

License

The underlying data is used via the CCADB Data Usage Terms (see LICENSE). The data in this crate is a derived work of the CCADB data.

Regenerating sources

Sources are generated in an integration test, in tests/codegen.rs. The test will fail if the sources are out of date relative to upstream, and update src/lib.rs if so. The code is generated in deterministic order so changes to the source should only result from upstream changes.

FAQs

Package last updated on 06 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts