$ rustls-webpki

v0.103.9

Web PKI X.509 Certificate Verification.

Downloads: 353.1M
Recent: 71.0M
Versions: 45
Updated: January 16, 2026

Latest Update Summary

Crate

Name: rustls-webpki New version: 0.104.0-alpha.1 Release date: 2025-10-02T12:03:35Z

Crate readme

Short description webpki is a library that validates Web PKI (TLS/SSL) certificates.

Long description webpki is used by Rustls to handle certificate-related tasks required for implementing TLS clients and servers. Written in Rust, it uses 'ring' for cryptographic operations and low-level parsing. This is a fork of the original webpki project, released as the rustls-webpki crate, beginning with version 0.100.0.

Features • Representing trust anchors - requires caller to specify a set of trust anchors using the TrustAnchor type. • Parsing certificates - converts from raw encoded form of a certificate for trust decisions. • Path building - determines if a certificate was issued by a trust anchor or intermediates endorsed by it. • Name/usage validation - checks if a certificate is valid for a given DNS name or IP address.

Code Examples

Linkshttps://github.com/rustls/rustlshttps://github.com/briansmith/ringhttps://github.com/briansmith/webpkihttps://github.com/rusticata/x509-parserhttps://github.com/est31/rcgenhttps://github.com/rustls/webpki/releaseshttps://github.com/rustls/rustls#example-codehttps://github.com/rustls/webpki/issues/newhttps://github.com/rustls/webpki/pull/388https://github.com/rustls/webpki/pull/391https://github.com/rustls/webpki/pull/393https://github.com/rustls/webpki/pull/392https://github.com/rustls/webpki/pull/394

https://api.github.com/repos/rustls/webpki/releases/251708682

Release info

Release version: 0.104.0-alpha.1

Release description This version update focuses on a series of changes that refine and improve the library. The minimum supported Rust version (MSRV) has been updated to 1.83, a change implemented by @ctz in this pull request. Additionally, deprecated Error variants have been removed, as noted by @djc in this pull request. The continuous integration process has been simplified to utilize cargo-deny-action directly, which helps in better dependency management indicated by @djc in this pull request. Furthermore, the extended key usage validation API has been made clearer and more straightforward, which was also addressed by @djc in this pull request. Finally, the version number has been adjusted to 0.104.0-alpha.1, reflecting current pre-release status, as detailed in this pull request.

Code Examples

Patch update: 0.103.8 → 0.103.9

$ DOWNLOADS TREND

266.4M353.1M

$ VERSION HISTORY

v0.103.9January 16, 2026
v0.103.8October 28, 2025
v0.103.7October 2, 2025
v0.103.7October 1, 2025
v0.103.6September 15, 2025

$ LINKS

$ INSTALL

cargo add rustls-webpki

Or add to Cargo.toml: rustls-webpki = "0.103.9"