You could also try checking the SSL log. This may give hints about the
problem; none of the HTTP conversation happens until after SSL has been
negotiated.
Jerry Wilborn
jerrywilb...@gmail.com
On Fri, Aug 7, 2009 at 1:16 PM, Tom Worster wrote:
> On 8/6/09 2:33 PM, "Ted Yu" wrote:
>
> >
> > Hi,
On 8/6/09 2:33 PM, "Ted Yu" wrote:
>
> Hi,
> I use the following code to call third party web service:
> curl_setopt($ch, CURLOPT_URL, $url);
> curl_setopt($ch, CURLOPT_TIMEOUT, 120);
> curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
> curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1);
> curl_setopt($ch,
Forgot to mention that there're other APIs on their server which I can call
successfully.
I did try turning off the two options below but result was the same.
--- On Thu, 8/6/09, Jerry Wilborn wrote:
> From: Jerry Wilborn
> Subject: Re: [PHP] curl_exec not hit server
> To:
Can you tell us anything about the cert on the host? Is it self signed, is
it expired, etc? A hip-shot: try turning off VERIFYPEER and VERIFYHOST.
Jerry Wilborn
jerrywilb...@gmail.com
On Thu, Aug 6, 2009 at 1:33 PM, Ted Yu wrote:
>
> Hi,
> I use the following code to call third party web serv
Hi,
I use the following code to call third party web service:
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1);
curl_setopt($ch, CURLOPT_SSLVERSION, 3);
curl_setopt($ch, CURLOPT_SS
5 matches
Mail list logo