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 |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
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 anHttpsConnector
to use withhyper::Client
.If you want "easy mode", you may find using the
reqwest
crate handles a lot of these decisions for you, and just exposes client config options.