note 110457 added to function.curl-setopt

From: Date: Wed, 24 Oct 2012 00:21:25 +0000
Subject: note 110457 added to function.curl-setopt
Groups: php.notes 
Request: Send a blank email to php-notes+get-191510@lists.php.net to get a copy of this message
Please everyone, stop setting CURLOPT_SSL_VERIFYPEER to false or 0. If your PHP installation doesn't have an up-to-date CA root certificate bundle, download the one at the curl website and save it on your server: http://curl.haxx.se/docs/caextract.html Then set a path to it in your php.ini file, e.g. on Windows: curl.cainfo=c:\php\cacert.pem Turning off CURLOPT_SSL_VERIFYPEER allows man in the middle (MITM) attacks, which you don't want! ---- Server IP: 113.20.13.217 Probable Submitter: 210.1.199.245 ---- Manual Page -- http://www.php.net/manual/en/function.curl-setopt.php Edit -- https://master.php.net/note/edit/110457 Del: integrated -- https://master.php.net/note/delete/110457/integrated Del: useless -- https://master.php.net/note/delete/110457/useless Del: bad code -- https://master.php.net/note/delete/110457/bad+code Del: spam -- https://master.php.net/note/delete/110457/spam Del: non-english -- https://master.php.net/note/delete/110457/non-english Del: in docs -- https://master.php.net/note/delete/110457/in+docs Del: other reasons-- https://master.php.net/note/delete/110457 Reject -- https://master.php.net/note/reject/110457 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#191510) next »