cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSL CA Certificate

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 9 Apr 2003 09:26:52 +0200 (CEST)

On Wed, 9 Apr 2003, Naved Khan wrote:

> I want a valid CA certificate for testing CURL.

I belive you can get one when you build a new cert for your HTTPS server.
With Apache, I could do something like " make certificate TYPE=custom" in the
apache source dir and after having to fill in a lot of answers I got cert,
key and CA cert generated.

> I just want to try out HTTPS commands using CURL utility so i can later dig
> into the code.

For simple trying out, you can ignore CA certs. Use -k for that.

> Where can I get a test .pem certificate in order to run CURL?

There is a CA cert collection included in the curl package. They should be
fine for most sites that use "properly" signed certificates.

> How can I use CURL to send an XML request to an HTTPS server and save the
> response tag?

Have you tried reading the docs and checking out the examples? If so, what
info are you missing?

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-04-09