So you got the cURL error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

Yeah, a lot of people do, apparently. However, if you’re a client (not the server administrator) and you’re pretty much positive that the server isn’t configured incorrectly, you don’t have a proxy server on your side, it’s not supposed to be plain HTTP….you might still be confused after you read all that stuff.

I was using a cURL command with –anyauth. That’s supposed to work by negotiating the most secure authorization possible with the server, but apparently it doesn’t always work, and it can cause this error. When I changed –anyauth to -3 (short for ‘use SSL3’), magically the problem went away.

Your mileage may vary.

2 thoughts on “So you got the cURL error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

  1. Permalink  ⋅ Reply

    Carlos

    July 3, 2013 at 8:41am

    I’m not a programmer. In what file did you make that change? I’m not sure where to go to look for the -anyauth.

    Any help you can provide will be appreciated.

  2. Permalink  ⋅ Reply

    Alexis

    July 13, 2013 at 8:58am

    I think you might be confused. If you don’t already know where you are interacting with the website returning the error, I can’t help you much.

Leave a Reply

Your email will not be published. Name and Email fields are required.