note 29813 added to ref.curl

From: Date: Tue, 25 Feb 2003 22:58:18 +0000
Subject: note 29813 added to ref.curl
Groups: php.notes 
Request: Send a blank email to php-notes+get-44520@lists.php.net to get a copy of this message
For Win2000: To get the 4.3.1 curl dll to work with https you now need to download the latest win32 curl library from http://curl.haxx.se and snag the ca-bundle.crt file from the lib directory. Place this somewhere handy on your webserver. Then in your PHP script, add the following setopt line to the rest of your curl_setopt commands: curl_setopt($ch, CURLOPT_CAFILE, 'C:\pathto\ca-bundle.crt') This worked for me and allowed me to discontinue using the CURLOPT_SSL_VERIFYPEER set to zero hack. -- http://www.php.net/manual/en/ref.curl.php http://master.php.net/manage/user-notes.php?action=edit+29813 http://master.php.net/manage/user-notes.php?action=delete+29813 http://master.php.net/manage/user-notes.php?action=reject+29813

« previous php.notes (#44520) next »