GetClientCertificate support?
bgelens opened this issue · 2 comments
Polaris Feature Request
Is your feature request related to a problem? Please describe
It would be good to be able to call into HttpListenerRequest.GetClientCertificate where Polaris would require client provided certificate. Is this already possible?
Describe the solution you'd like
I'd like to receive the client provided certificate and be able to handle it as I please. E.g. validate known thumbprint, verify signer, etc.
Hey @bgelens,
The full HttpListenerRequest object is available via:
$Request.RawRequest
Looks like $Request.RawRequest.GetClientCertificate()
is a method but I'm not sure exactly how it would be used. Does that help you?
Hey @Tiberriver256. Thanks for your response. I'm also not sure how to use it so I figured the rawresponse was not usable with this method within Polaris. However I just tried it with plain httplistener and got the same result (which is nothing :) ).
I'll close the issue and investigate some more