title: Ruby RestClient SSL cannot verify
body: <p>I was using app on two domains: 
  domain.com, 
  differentdomain.com</p>
  
  <p>All calls from the app by RestClient was done on <strong>differentdomain.com</strong>. Right now i'm switching calls to domain.com because there is no need to have two different domains. </p>
  
  <p>So i created subdomain <strong>different.domain.com</strong>. I have valid SSL certificate (with wildcard), properly set with nginx server. </p>
  
  <p>When i enter <strong>different.domain.com</strong> in my browser i get page with valid ssl certificate. It's working ok without any bugs.</p>
  
  <p>The problem is when i'm trying to call subdomain via RestClient. I'm getting this error:</p>
  
  <pre><code>RestClient::SSLCertificateNotVerified (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
  </code></pre>
  
  <p>Do i need update cert/key somewhere else ?</p>