-
Notifications
You must be signed in to change notification settings - Fork 51
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
Is it possible to disable the cert verification? #13
Comments
Are you able to insert that certificate into your system's trust store? That's the preferred method for dealing with self signed certificates. |
I'm not sure. Is it possible to extract the cert on a random non-http tls connection? I'm trying to communicate with an android app which generate a new self-signed cert on every device. |
I think the app use cert verification after the two devices are paired with users confirmation and the cert is added to a cert pool. |
I think what should work here is to provide access to the schannel state after a failed handshake. That'll let you in particular have access to the peer's certificate. I'll be working on adding support to provide extra trust roots on a per-connection level soon, so you'll be able to reconnect with that certificate trusted. |
This is also a problem with using Fiddler to intercept https connections. Currently curl took the approach of providing a CLI flag to pass |
That certainly seems reasonable - I'd be happy to take a PR with that option. Do you know why Fiddler's root would have an invalid revocation URL rather than not having one at all? |
It doesn't have one at all - I think that's what makes it invalid unless That said, I'm not sure where the error is actually coming from. I'll build a debug rustup and schannel and check. |
Sorry, ignore me. The error is from rustup's curl backend. If I force it to use the hyper backend (that uses rust-native-tls and thus schannel-rs) there's no problems with Fiddler. |
Ah, great! |
I would like to connect to services with self signed certificates.
The text was updated successfully, but these errors were encountered: