tide icon indicating copy to clipboard operation
tide copied to clipboard

Optional client certificate field in Request?

Open darwindarak opened this issue 3 years ago • 2 comments

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?

darwindarak avatar Sep 16 '21 18:09 darwindarak

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>).

yoshuawuyts avatar Oct 08 '21 10:10 yoshuawuyts

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

lfern avatar Feb 28 '22 10:02 lfern