-
Notifications
You must be signed in to change notification settings - Fork 37
Description
This crate offers the Verifier class which implements ServerCertVerifier--this allows users to create a ClientConfig that verifies server TLS certificates using the platform's native store. There is no implementation of ClientCertVerifier, however, so there is no way to create a ServerConfig that verifies client TLS certificates using the platform's native store.
For context, I want to host an HTTPS endpoint on Windows that accepts client certificates. I need to be able to verify that those client certificates are valid according to the installed root CAs, but that isn't going to be possible without a ClientCertVerifier implementation in this crate--the default WebPkiClientVerifier that rustls offers doesn't work with Windows certificate stores.