cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Adding SSL...

From: Daniel Stenberg <daniel-curl_at_haxx.se>
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
server: http://curl.haxx.se/docs/faq.html#3.16

> 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 -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-09-14