Tag: https

PHP curl ssl - cant connect to a https site

Recently, I was writing a PHP script for grabbing data from VeriSign through their API, but I was getting '0' as response. The problem was that curl SSL version and server's SSL version was different, so I needed to set it manually.