title: SSL peer certificate or SSH remote key was not OK (Curl::Err::SSLPeerCertificateError)
body: <p>I got the error on ubuntu but works on mac</p>
  
  <p>But if I run the curl command on ubuntu , it works. is curb a buggy gem?</p>
  
  <pre><code>2.1.0/gems/curb-0.8.6/lib/curl/easy.rb:72:in `perform': SSL peer certificate or SSH remote key was not OK (Curl::Err::SSLPeerCertificateError)
  </code></pre>
  
  <h2>RUBY</h2>
  
  <pre><code>resp = Curl::Easy.http_post(server_url, content_to_send) do |curl|
    curl.ssl_verify_peer = false
    curl.headers = header.clone
  end
  </code></pre>
  
  <h2>Detail</h2>
  
  <pre><code>/home/poc/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/curb-0.8.6/lib/curl/easy.rb:72:in `perform': SSL peer certificate or SSH remote key was not OK (Curl::Err::SSLPeerCertificateError)
      from /home/poc/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/curb-0.8.6/lib/curl/easy.rb:398:in `http_post'
      from /home/poc/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/curb-0.8.6/lib/curl/easy.rb:398:in `http_post'
      from curb.rb:12:in `curl_query'
      from curb.rb:21:in `&lt;main&gt;'
  </code></pre>