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

Optional client certificate field in Request? #849

Open
darwindarak opened this issue Sep 16, 2021 · 2 comments
Open

Optional client certificate field in Request? #849

darwindarak opened this issue Sep 16, 2021 · 2 comments

Comments

@darwindarak
Copy link

Would it be possible to add something like a Option<X509Certificate> field to Request? It would be useful for mTLS-based authorization but the TLS listeners don't seem to have a place to put this information. Or is this what the extensions field is meant for?

@yoshuawuyts
Copy link
Member

Or is this what the extensions field is meant for?

That's one possible location to store it. The other location you might want to store it on is as part of the global State param (e.g. Server<State>).

@lfern
Copy link

lfern commented Feb 28, 2022

Is there a way to get the client certificate in the actual tide version????

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants