cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: cURL->https

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 2 Jul 2001 15:28:41 +0200 (MET DST)

On Mon, 2 Jul 2001, Chris Alsop wrote:

> I have curl installed and working sort of. I can use the following code
> to post and get the results if i use http but not https. For https i just
> get a blank screen.

Switch on CURLOPT_VERBOSE and CURLOPT_HEADER to see if you can make any
conclusions from that.

If curl was built with SSL support (was it?), not getting a https:// page
usually means that the remote server somehow refuses the SSL handshake or
something. This can at times be because the server doesn't like the way
OpenSSL tries to find out if it runs SSL v2 or SSL v3. Setting the option to
explicitly use one of the versions might be a way around this problem.

-- 
     Daniel Stenberg -- curl dude -- http://curl.haxx.se/
   (I'll be gone for a month, starting tomorrow...)
_______________________________________________
Curl-and-php mailing list
http://curl.haxx.se/
Received on 2001-07-02