You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently trying to implement a basic SSL mutual authentication mechanism using hyper. Through using openssl and making my own SSLContext I am already able to require the client to send a certificate and reject as the server seems appropriate. But within the SSL-verify callback I can't alter the context of request. So, in order to be able to not only have a yes-no but an actual "this certificate belongs to that user", I'd need support to access the ssl certificate/context from within the handler so the application code can decide based on that, but that seems impossible at the moment as they are encapsulated away.
I can provide my code if anyone cares and if someone tells me, what changes would be accepted as a PR would also be willing to make the changes myself. Unless I have missed some way to make that happen.
The text was updated successfully, but these errors were encountered:
I am currently trying to implement a basic SSL mutual authentication mechanism using hyper. Through using openssl and making my own SSLContext I am already able to require the client to send a certificate and reject as the server seems appropriate. But within the SSL-verify callback I can't alter the context of request. So, in order to be able to not only have a yes-no but an actual "this certificate belongs to that user", I'd need support to access the ssl certificate/context from within the handler so the application code can decide based on that, but that seems impossible at the moment as they are encapsulated away.
I can provide my code if anyone cares and if someone tells me, what changes would be accepted as a PR would also be willing to make the changes myself. Unless I have missed some way to make that happen.
The text was updated successfully, but these errors were encountered: