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

Allow disabling certificate verification #38

Closed
tscs37 opened this issue Jan 8, 2020 · 2 comments
Closed

Allow disabling certificate verification #38

tscs37 opened this issue Jan 8, 2020 · 2 comments

Comments

@tscs37
Copy link

tscs37 commented Jan 8, 2020

For development purposes it can be useful to ignore certificate requirements (ie, expired certificates, mismatching hostnames, etc.)

It would be useful if the RequestBuilder had an option to disable Certificate Verification, something like danger_allow_invalid_certificates().

@sbstp
Copy link
Owner

sbstp commented Jan 8, 2020

Yes this is a something I wanted to do. I think it can be easily done by adding a parameter to the RequestBuilder i.e. attohttpc::get("https://localhost:8080").allow_insecure(true), something like this.

@sbstp
Copy link
Owner

sbstp commented Jan 11, 2020

This is out in 0.10.0

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