How do I turn off certificate verification in a gem like
jiraSOAP. the verification is inbuilt, but I really don't need that
verification since the server & client are my properties. It should
be doable to tweak the gem to stop this verification.
OpenSSL :: SSL :: VERIFY_PEER = OpenSSL :: SSL ::
jira = JIRA::JIRAService.new "https://server/rpc/soap/jirasoapservice-v2?wsdl"
jira.login username, password
/usr/local/rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/net/http.rb:799:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)