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

Add option to accept self-signed certificates when making API calls #24

Open
daronco opened this issue Aug 24, 2016 · 0 comments
Open

Comments

@daronco
Copy link
Member

daronco commented Aug 24, 2016

Used mostly for development/testing, but it would be useful to have it, since right now it's not possible at all to make API requests to servers that have untrusted certificates.

It can be done with something like:

require 'net/https'
...
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant