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.
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.