http-rs / surf

Fast and friendly HTTP client framework for async Rust
https://docs.rs/surf
Apache License 2.0
1.46k stars 119 forks source link

Ignore expired certificates #328

Open boyswan opened 2 years ago

boyswan commented 2 years ago

Currently getting BadServerCertificate(None)error when certificate has expired. Is it possible to disable this check?

Fishrock123 commented 2 years ago

@boyswan Which back end are you using? The default is curl, have you tried features = ["h1-client"]?