February 12, 201016 yr Hi, I am attepmting to send info to a secure https site using cURL. When I try to do so though, I receive the following error: 7 couldn't connect to host I am including the following SSL info: // SSL info curl_setopt($handle, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($handle, CURLOPT_SSL_VERIFYHOST, 2); curl_setopt($handle, CURLOPT_CAINFO, "https://www.tt2.co.uk/gateway/includes/intermediate.crt"); so shouldnt really be getting an error. Does anybody know why this is? All help is appreciated. Thanks.
Create an account or sign in to comment