Skip to content

Add API for verifying that a private key is valid for a certificate #35

Open
@briansmith

Description

TLS servers, and TLS clients that do client authentication, need way to verify that a private key that they're about to use for authentication is the one that corresponds to the certificate they present to the peer. And/or they need an API that selects a certificate that matches a private key.

See *ring issue 419 for more context.

@ctz Do you have any suggestions for an API that you could use in Rustls to verify that the certificate and the private key being used are consistent?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions