Re: curl + ssl and invalid certificate
| From: | Curt Zirzow | Date: | Fri, 21 May 2004 16:22:13 +0000 |
| Subject: | Re: curl + ssl and invalid certificate | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186691@lists.php.net to get a copy of this message | ||
* Thus wrote Richard Davey (rich@launchcode.co.uk):
> Hi all,
>
> Does anyone know how to get curl to accept the ssl cert *regardless*
> of how ballsed-up it is?
I've nver tried it but perhaps:
CURLOPT_SSL_VERIFYPEER 0
and/or
CURLOPT_SSL_VERIFYHOST 0
Curt
--
"I used to think I was indecisive, but now I'm not so sure."