Open djc opened 6 months ago
When connecting to static.rust-lang.org
I just get the Headers printed in the simple
example.
There is also a different issue I noticed with Wine and their PKI (OS Error -2146762482 / 0x800B010E); google.com
on the other hand just works fine.
Commenting Cryptography::CertVerifyCertificateChainPolicy
out in schannel-rs seems to get it working. The error code means: The revocation process could not continue - the certificate(s) could not be checked.
Original issue: https://github.com/rust-lang/rustup/issues/3689.
rustup has two download backends, one based on curl and one based on reqwest:
https://github.com/rust-lang/rustup/blob/master/download/src/lib.rs
(Right now, the curl-based backend is the default. We'd like to switch that to rustls in the future.)