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