verify ssl certificates curl php code example Example: php curl ssl verify curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, TRUE);