cURL / Mailing Lists / curl-library / Single Mail


Re: Adding SSL...

From: Daniel Stenberg <>
Date: Tue, 14 Sep 2004 17:55:15 +0200 (CEST)

On Tue, 14 Sep 2004, Casey ODonnell wrote:

> I'm trying to figure out what the simplest method to add SSL support to an
> application would require. Assuming that I am already successfully PUT-ing
> a resource on a server, what would it take on my part to ensure that I was
> PUT-ing via SSL?

It basicly depends on what your server demands and if you want to verify the

> Theoretically if I had this information I could successfully (assuming I did
> the OPT's right) PUT via SSL? So instead of PUT-ing to
> http//www.server.bob/~jim/folder/text.txt I could PUT to
> https://www.server.bob/~jim/folder/text.txt

If the server doesn't require a client certificate, you won't even need all
that. Just use https:// and use a proper ca cert (or disable the verification)
and you're fit to run.

      Daniel Stenberg -- --
       Dedicated custom curl help for hire:
Received on 2004-09-14