#certificate #self-signed #trust #trusted #mozilla #root #webpki

webpki-root-certs

Mozilla trusted certificate authorities in self-signed X.509 format for use with crates other than webpki

4 releases

0.26.7 Nov 21, 2024
0.26.6 Sep 18, 2024
0.26.5 Aug 30, 2024
0.26.4 Aug 7, 2024

#753 in Cryptography

Download history 416/week @ 2024-08-21 1171/week @ 2024-08-28 358/week @ 2024-09-04 397/week @ 2024-09-11 845/week @ 2024-09-18 1552/week @ 2024-09-25 1184/week @ 2024-10-02 2790/week @ 2024-10-09 2170/week @ 2024-10-16 2548/week @ 2024-10-23 2319/week @ 2024-10-30 3874/week @ 2024-11-06 11303/week @ 2024-11-13 15146/week @ 2024-11-20 14249/week @ 2024-11-27 18577/week @ 2024-12-04

60,313 downloads per month
Used in 45 crates (4 directly)

MPL-2.0 license

645KB
161 lines

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 MPL-licensed, and src/lib.rs is therefore a derived work.

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.

Dependencies