cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: creating certs for HTTP, PEM files, OpenSSL, etc

From: Tony G <1xrdqj102_at_sneakemail.com>
Date: Thu, 4 Mar 2004 18:49:10 -0800

Is the lack of response to this because:
1) No one knows?
2) The coding, tests, or debugging for this area still aren't complete?
3) This is considered an OpenSSL question and not cURL? I can easily post
to the openssl-users list.
4) I should ask somewhere else?
5) I need to RTM? (A URL would be appreciated, I think I've been through
everyhing in the standard docs. I'd be happy to verify an alpha/beta doc.)
6) Something else?

Thanks.
Tony

>-----Original Message-----
>Sent: Monday, March 01, 2004 2:45 PM
>
>I've been using cURL for a long time but just getting into the
>SSL end of it. I'm not a crypto guy, so just the process of
>creating, signing, and installing certs is also new, but I'm
>making progress.
>
>The info at http://eal.us/archives/000964.html has proven
>invaluable for creating a cert with OpenSSL which can be
>installed to IIS, and IE works fine with it. (Note the info
>there says you jump back and forth between Windows and Linux
>to create/sign certs but it can all be done from one OS.
>
>The problem I'm having is creating a PEM from a server .crt
>file with OpenSSL that the cURL commandline can use. I've
>tried many permutations and never seem to get it quite right.
>I'm using this OpenSSL line to create the
>PEM:
> openssl x509 -in server.crt -out server.pem -outform PEM
>
>I think I need to add the cert info to curl-ca-bundle.crt, or
>(preferably) I need to properly tell the commandline to use a
>different file rather than going to the bundle. I've used
>notepad to copy/paste the cert into the bundle with no joy.
>(Don't use Wordpad or it will change all the EOL delimiters).
>
>Can anyone give me a definitive set of steps to get from a
>working cert to a working HTTPS with cURL? I'll be happy to
>put all of this info (including helpful notes of my own) up on
>my website for future reference. Daniel has mentioned in
>previous posts on the topic (since the bundle was first
>introduced) that there is no real documentation for this yet.
>I'm wondering how anyone makes it work.
>
>Many Thanks.
>Tony
>(This is my first post to this list, thanks to everyone for
>posting questions and responses for all this time, it's been a
>great resource for
>info.)
>
>
Received on 2004-03-09