OK. I have got this script that works perfectly fine on a different server. It uses curl to communicate to a different website via https.
On this new server, however, I keep receiving an error message:
Error: HTTP Error: cURL ERROR: 35: SSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
Some sites suggest to manually change the SSL version curl uses to SSL 2. After I do that, I get the error:
Error: HTTP Error: cURL ERROR: 35: SSL: error:00000000:lib(0):func(0):reason(0)
If I change it to SSL version 3, I go back to the previous error (unknown protocol).
Has anybody experienced this before? The script is correct - it works on a different server. It must have something to do with the installation of curl for PHP on this server.