title: Centos 6.6 CURL returns error when connecting to some SSL Site
body: <p>I already tried to search most of things here but seems not worked.
  tried to curl -I -v <a href="https://secure2.lionair.co.id/lionairibe/OnlineBooking.aspx" rel="nofollow">https://secure2.lionair.co.id/lionairibe/OnlineBooking.aspx</a> returns error usually im using ubuntu server and do not have any issue with this, but when i tried to use centos 6.6 suddenly all my curls to https returns that error both in PHP or even with linux command line
  appreciate if you can help me </p>
  
  <p>Response when tried to curl :</p>
  
  <pre><code>* About to connect() to secure2.lionair.co.id port 443 (#0)
  *   Trying 202.79.216.183... connected
  * Connected to secure2.lionair.co.id (202.79.216.183) port 443 (#0)
  * Initializing NSS with certpath: sql:/etc/pki/nssdb
  *   CAfile: /etc/pki/tls/certs/ca-bundle.crt
    CApath: none
  * NSS error -12190
  * Error in TLS handshake, trying SSLv3...
  &gt; HEAD /lionairibe/OnlineBooking.aspx HTTP/1.1
  &gt; User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
  &gt; Host: secure2.lionair.co.id
  &gt; Accept: */*
  &gt;
  * Connection died, retrying a fresh connect
  * Closing connection #0
  * Issue another request to this URL: 'https://secure2.lionair.co.id/lionairibe/OnlineBooking.aspx'
  * About to connect() to secure2.lionair.co.id port 443 (#0)
  *   Trying 202.79.216.183... connected
  * Connected to secure2.lionair.co.id (202.79.216.183) port 443 (#0)
  * TLS disabled due to previous handshake failure
  *   CAfile: /etc/pki/tls/certs/ca-bundle.crt
    CApath: none
  * NSS error -12190
  * Closing connection #0
  * SSL connect error
  curl: (35) SSL connect error
  </code></pre>
  
  <p>Thanks :)</p>