RestClient.get returning certificate verify failed
<p>I am trying hit an internal testing API server using RestClient and Ruby v. 2.2.1. </p>

<p>This is essentially the code:</p>

<pre><code>url = "https://10.10.0.10/thing/i/want/to/get"
header = {
      :content_type =&gt; "application/json",
      :"x-auth-token" =&gt; "testingtoken"
  }
response = RestClient.get url, header
</code></pre>

<p>This is the failure message I get:</p>

<pre><code>SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (RestClient::SSLCertificateNotVerified)
</code></pre>

<p>If I'm reading this right, it looks like Ruby couldn't accept the SSL security certificate.  This call works in the Chrome app Postman, but in order for it to work, I have to hit the URL in Chrome itself and accept that the connection is not secure (but proceed anyway), and THEN it will work in postman. </p>

<p>Is there a way to ignore the certificate failures and proceed anyway in Ruby?</p>