Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to make the server request a client certificate? #541

Open
SF2311 opened this issue Sep 3, 2024 · 2 comments
Open

Is it possible to make the server request a client certificate? #541

SF2311 opened this issue Sep 3, 2024 · 2 comments
Labels

Comments

@SF2311
Copy link

SF2311 commented Sep 3, 2024

Hi,

I've been working on an implementation of a simple protocol on top of QUIC.
I'd like to use client certificates for mutual authentication but I couldn't find any mentions of this in the documentation.
There seems to be a test case however, that indicates there is at least some support for client certificates.

Is there a way to make the server request and check the certificate of the client during connection setup?
If not, are there plans to implement support for this in the future?

Thanks and kind regards.

@rthalley
Copy link
Contributor

rthalley commented Sep 3, 2024

The TLS code does have support for this, but there is no API to turn it on. The variable is marked like this:

self._request_client_certificate = False  # For test purposes only

but I don't know why it is only for testing purposes. If Jeremy sees this, perhaps he knows! I will try to take a look at this later when I get some time, as it seems like something we'd want to be able to enable. Beyond basic cert checking, which seems to be there, I'm not sure what other extra configuration is expect for this kind of feature (e.g. some sort of cert checking callback).

Copy link

github-actions bot commented Jan 2, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants