Re: cURL

From: Date: Tue, 20 May 2003 19:36:24 +0000
Subject: Re: cURL
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-148309@lists.php.net to get a copy of this message
I found it.....I was writing a parser for UPS's online XML tool. PHP 4.3.1 is compiled with the new version of cURL which by default attempts to verify that the signing CA is valid. UPS chose to self sign thier CA's.... I had to use curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); to connect to thier SSL server -- Nicholas Saraniti Director of Operations Commcare Pharmacy --------------------------------- Phone: 888-203-7973 954-568-6212 Fax: 888-203-7980 954-568-2765 "Jason K Larson" <jlarson@candlefire.org> wrote in message news:3ECA81D6.9090904@candlefire.org... > http://www.php.net/manual/en/ref.curl.php > http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html > > If you don't want to verify the SSL Cert, it doesn't look like you have to ... I mean, it > looks like the verification process is seperately specified options and/or functions. > > -- > Ritter > > > > Nicholas Saraniti wrote: > > I need the equivilent of curl -k (disable ssl CA checking) in order to connect to site which self signed thier certificate. Anyone know what option this is in PHP 4.3.1? > > > > > > Nicholas Saraniti > > Director of Operations > > Commcare Pharmacy > > --------------------------------- > > >

« previous php.general (#148309) next »