Skip to content
New issue

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

Ability to accept self-signed certificates #105

Closed
Sir-Photch opened this issue Feb 25, 2024 · 1 comment
Closed

Ability to accept self-signed certificates #105

Sir-Photch opened this issue Feb 25, 2024 · 1 comment

Comments

@Sir-Photch
Copy link

I have this edge use case where I need to accept self-signed certificates for a https connection.
Supporting this is possible with the https-native feature since crate::native_tls::TlsConnector::Builder facilitates this by calling danger_accept_invalid_certs(true).

I am not sure how you would like to see this integrated that's why I kept it to a hacked local git clone instead of creating a PR, but is this something you can see this library to support?

@neonmoe
Copy link
Owner

neonmoe commented Feb 25, 2024

I'd rather not, both since more advanced use-cases might as well use a more fully featured http crate, and to try and avoid creating security issues by minimizing the amount of messing with tls stuff.

@neonmoe neonmoe closed this as not planned Won't fix, can't repro, duplicate, stale Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants