-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Impossible to configure custom TLS validation #887
Comments
True. Does |
|
I just looked again, and clearly that isn't possible, because the hostname must be passed to the verify callback. Is there a different verification you'd hope to do, or just hoping to disable it? |
I want to pin to a specific certificate and don't care about hostname verification. |
To unblock your use-case, you can I feel the SSL/TLS design needs a bit of help in general. |
Yup, did that. :) You could do
|
I would like to connect to a fake certificate (the certificate does not match the domain), which is currently impossible. It would be really great if we could connect to an invalid domain/ expired certificate / unknown issuer... Can I just |
Yes, you can implement SslClient however you'd like. On Tue, Sep 20, 2016, 8:50 AM Tatref notifications@github.com wrote:
|
With the release of 0.10, hyper no longer bundles a default SslClient, and instead proposes use of pluggable crates to provide it. So I'm going to close this. |
Regardless of what was previously configured in
SslContext
, this line simply overrides any verification settings.The text was updated successfully, but these errors were encountered: