Disabling Certificate Requests on 0.14? #2637
|
Hi there, I'm just looking around and I see #947 //using the open ssl crate
let mut context_builder = SslContextBuilder::new(SslMethod::tls())?;
context_builder.set_verify(SslVerifyMode::NONE);
let ssl_context = context_builder.build();How would I set that context to my |
Answered by
seanmonstar
Aug 26, 2021
Replies: 1 comment 2 replies
|
hyper no longer includes TLS pieces, since people have different requirements for what TLS library they use. You could make use of If you want "easy mode", you may find using the |
2 replies
Answer selected by
seanmonstar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hyper no longer includes TLS pieces, since people have different requirements for what TLS library they use. You could make use of
hyper-tls,hyper-rustls,hyper-openssl, or others to get anHttpsConnectorto use withhyper::Client.If you want "easy mode", you may find using the
reqwestcrate handles a lot of these decisions for you, and just exposes client config options.