note 75711 added to function.curl-setopt
| From: | mcbreen at gmail dot com | Date: | Tue, 12 Jun 2007 21:35:10 +0000 |
| Subject: | note 75711 added to function.curl-setopt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-127430@lists.php.net to get a copy of this message | ||
If you are getting the following error:
SSL: certificate subject name 'domain-or-ip-1.com' does not match target host name
'domain-or-ip-2.com'
Then you can set the following option to get around it:
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
----
Server IP: 69.39.81.135
Probable Submitter: 168.103.198.141
----
Manual Page -- http://www.php.net/manual/en/function.curl-setopt.php
Edit -- https://master.php.net/note/edit/75711
Del: integrated -- https://master.php.net/note/delete/75711/integrated
Del: useless -- https://master.php.net/note/delete/75711/useless
Del: bad code -- https://master.php.net/note/delete/75711/bad+code
Del: spam -- https://master.php.net/note/delete/75711/spam
Del: non-english -- https://master.php.net/note/delete/75711/non-english
Del: in docs -- https://master.php.net/note/delete/75711/in+docs
Del: other reasons-- https://master.php.net/note/delete/75711
Reject -- https://master.php.net/note/reject/75711
Search -- https://master.php.net/manage/user-notes.php