cURL - Unkown SSL protocol error - OS X 10.9

Posted by saq7 on Server Fault See other posts from Server Fault or by saq7
Published on 2014-06-04T15:10:03Z Indexed on 2014/06/04 15:28 UTC
Read the original article Hit count: 304

Filed under:
|

I am trying to use cURL and get the following error on every https request I make. The error is always the same. HTTP requests work flawlessly. The verbose output is quite useless.

Saquibs-MacBook-Pro:~ skothawala$ curl https://google.com -vv
* Adding handle: conn: 0x7fe09b803a00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fe09b803a00) send_pipe: 1, recv_pipe: 0
* About to connect() to google.com port 443 (#0)
*   Trying 74.125.226.129...
* Connected to google.com (74.125.226.129) port 443 (#0)
* Unknown SSL protocol error in connection to google.com:-9805
* Closing connection 0
curl: (35) Unknown SSL protocol error in connection to google.com:-9805

I have looked through other answers on this forum and other places on the internet, but haven't found an answer. Most people's issues involve particular servers and the configuration of SSL on these servers. Mine however is problematic anytime HTTPS is used (with any website).

Can someone please suggest what I should be looking into to solve the problem? Can it be that something is not properly configured? What should I be looking for?

© Server Fault or respective owner

Related posts about ssl

Related posts about curl