Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Have a configuration setting to turn off http.verify_mode #94

Open
roca opened this issue Jan 27, 2014 · 0 comments
Open

Have a configuration setting to turn off http.verify_mode #94

roca opened this issue Jan 27, 2014 · 0 comments

Comments

@roca
Copy link

roca commented Jan 27, 2014

Depending on your servers openssl (the server issuing the request) configuration you may also need to set the http.verify_mode option.

if url.scheme == "https"
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE if config[:ssl_verify_mode] == true
end

This gets around the "SSL not-verified" error message you get when your server can not verify the response with the certificates installed on your server. You can get your system admin to reconfigure the openssl installation or add this piece code as a work around.

roca added a commit to roca/private_pub that referenced this issue Jan 27, 2014
Have a configuration setting to turn off http.verify_mode
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant