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
Some cameras use self-signed cert which cannot be validated by default. Need to either ignore validation or allow passing the cert for communications. Reqwest supports both ways https://docs.rs/reqwest/0.10.4/reqwest/struct.Certificate.html https://docs.rs/reqwest/0.10.4/reqwest/struct.ClientBuilder.html#method.danger_accept_invalid_certs
The text was updated successfully, but these errors were encountered:
Can we make this a runtime configurable option?
Sorry, something went wrong.
Along with credentials we can pass enum like
enum Cert { Cert(String), // Provided by user (Safe) AcceptInvalid, // Accept self-signed (Dangerous) None // Accept CA signed or http-only requests }
DmitrySamoylov
No branches or pull requests
Some cameras use self-signed cert which cannot be validated by default. Need to either ignore validation or allow passing the cert for communications. Reqwest supports both ways
https://docs.rs/reqwest/0.10.4/reqwest/struct.Certificate.html
https://docs.rs/reqwest/0.10.4/reqwest/struct.ClientBuilder.html#method.danger_accept_invalid_certs
The text was updated successfully, but these errors were encountered: