-
Notifications
You must be signed in to change notification settings - Fork 145
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
Can I get the CN? #21
Comments
I've been struggling with the same challenge of how to get at the client certificate: hyperium/hyper#1241 I haven't been able to figure out how to implement any of those suggestions though. Has anyone been able to determine if this is actually possible at the moment, and if not, what's the best way to contribute to making it happen? |
Ultimate solution was just to drop tokio-proto and have my own |
@alex I'm not too familiar with proto/service myself, but yes I think the only away is to write your own logic on top of tokio-rustls, without using the proto portion of that crate. Would you mind sharing a gist with your current solution? Does it completely bypass hyper-rustls? Depending on the final result it may (or may not) be helpful to have it here as a proto-less server example. |
… On Sat, Sep 23, 2017 at 4:43 AM, Luca Bruno ***@***.***> wrote:
@alex <https://github.com/alex> I'm not too familiar with proto/service
myself, but yes I think the only away is to write your own logic on top of
tokio-rustls, without using the proto portion of that crate.
I think the end result will look quite similar to tokio-rustls server
example
<https://github.com/quininer/tokio-rustls/blob/6a8c6431a30d04cc290760940b9af2975734de4e/examples/server.rs>
but I'm not sure about the hyper part.
Would you mind sharing a gist with your current solution? Does it
completely bypass hyper-rustls? Depending on the final result it may (or
may not) be helpful to have it here as a proto-less server example.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAADBDnJyDPZwHlbSrG_UfnET-W8oVObks5slMS6gaJpZM4Nfdwf>
.
--
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: D1B3 ADC0 E023 8CA6
|
Following up a year later (😬), the solution I put in that gist was working well, but the latest release of hyper no longer has the |
With an older version of Hyper using OpenSSL I could do something like this:
I need the CN to do anything useful on our corporate network.
Is it possible to do something like this when I'm using hyper-rustls?
If yes, how?
Thanks!
The text was updated successfully, but these errors were encountered: