cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: CURL (35) unknown SSL protocol error in connecting to host:443

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 15 Jun 2009 23:03:55 +0200 (CEST)

On Mon, 15 Jun 2009, David Ringsmuth wrote:

> In some places the documentation seems to indicate the doing https is
> "built-in" to curl. In others it seems to state that OpenSSL must be
> installed.

Both statements right. The support is built-in, but it relies on an SSL
library. Most often that is OpenSSL.

> I'm troubled with what seems to be a requirement for a private certificate
> to do https client retrievals.

No, that's not necessary for HTTPS.

> Client authenticated is not required.

Then you don't need a private certificate.

> According to the documentation I'm not sure WHERE curl expects the CA cert
> bundle (in PEM format) to be - which directory?

See http://curl.haxx.se/docs/sslcerts.html section 4

> I've begun using -trace, but have not been able to make the output go to a
> file. Placing a file name following -trace does nothing I've been able to
> detect.

--trace has two dashes.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-06-15