It could be that the version of openssl that your curl is using doesn't support SNI

//