title: softlayer_api gem OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed):
body: <p>I am using softlayer_api gem but when i called any method like "getOpenTickets" after </p>
  
  <p>creating SoftLayer::Service object i get this exception:</p>
  
  <p><strong>OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed):</strong></p>
  
  <p>my code that is executed in dashboard controller is:</p>
  
  <p>def index</p>
  
  <pre><code>begin
  
    account_service = SoftLayer::Service.new("SoftLayer_Account",
  
                                             :username =&gt; "sl221577473gghg717a",
  
                                             :api_key =&gt; 
  </code></pre>
  
  <p>"25f38a342079c07f4336543a0fccc54ee8755cb92b53cd78d0hdufh77734747hreghghed4aa1d9961b85") </p>
  
  <pre><code>  account = account_service.getOpenTickets
  
  rescue Exception =&gt; exception
  
    puts "Unable to retrieve account information: #{exception}"
  
  end
  </code></pre>
  
  <p>end</p>
  
  <p>i also require related libraries as well </p>
  
  <p>require 'rubygems'</p>
  
  <p>require 'softlayer_api'</p>
  
  <p>require 'pp'</p>
  
  <p>require 'openssl'</p>
  
  <p>any opinion will be greatly appreciate</p>