curl + ssl and invalid certificate

From: Date: Fri, 21 May 2004 16:02:48 +0000
Subject: curl + ssl and invalid certificate
Groups: php.general 
Request: Send a blank email to php-general+get-186690@lists.php.net to get a copy of this message
Hi all, This is a very specific problem so I'm not holding out too much luck, but I am working on a script that must POST data to a secure server so I'm using curl for this. curl works perfectly including on ssl sites like PayPal.com - but the test server I am connecting to has an invalid site certificate warning come up (saying that the domain doesn't match the issuer, etc). My PHP script is pretty straight forward and doesn't have much beyond the standard setopts needed for curl but when I access it in a browser it is actually causing Apache (2.0.49) on to crash! Does anyone know how to get curl to accept the ssl cert *regardless* of how ballsed-up it is? -- Best regards, Richard Davey http://www.launchcode.co.uk / PHP Development Services http://www.phpcommunity.org/wiki/296.html / PHP Community

« previous php.general (#186690) next »