Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.38 KB

File metadata and controls

25 lines (16 loc) · 1.38 KB

Windows CNG bridge for rustls

github actions crates license license docs.rs

This crate allows you to use the Windows CNG private keys together with rustls for both the client and server sides of the TLS channel.

Rationale: In many situations, it is required to use certificate chains with non-exportable private keys from the Windows certificate store instead of an external PKCS#8 file. rustls-cng can use such chains in the rustls context.

Supported key/certificate types: RSA, ECDSA/ECDH. Supported elliptic curves: secp256r1 (prime256v1), secp384r1, secp521r1.

Documentation.

Usage

Please see the examples directory for client and server usage examples.

License

Licensed under either of the MIT or Apache 2.0 licenses, at your option.