We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I happen to stumble upon here:
reqwest/src/async_impl/client.rs
Lines 508 to 511 in 3ad6e02
I'm using a custom Rustls provider with RustCrypto which is in pure Rust, and I'm not using ring and do not want ring in the dependency chain.
However, I cannot control this at the moment, so I have to improvise like this:
pub fn make_client() -> Result<Client, Error> { let mut builder = Client::builder(); for cert in webpki_root_certs::TLS_SERVER_ROOT_CERTS { builder = builder.add_root_certificate(Certificate::from_der(cert).unwrap()) } builder.build() }
Which is pretty annoying.
The text was updated successfully, but these errors were encountered:
Partially solved by #2447 but it is limited to webpki roots. If you want other roots there is no luck atm
Sorry, something went wrong.
No branches or pull requests
I happen to stumble upon here:
reqwest/src/async_impl/client.rs
Lines 508 to 511 in 3ad6e02
I'm using a custom Rustls provider with RustCrypto which is in pure Rust, and I'm not using ring and do not want ring in the dependency chain.
However, I cannot control this at the moment, so I have to improvise like this:
Which is pretty annoying.
The text was updated successfully, but these errors were encountered: