cURL / Mailing Lists / curl-users / Single Mail

curl-users

Self signed certs

From: panta-admin <admin_at_panta-rhei.dyndns.org>
Date: Fri, 10 Sep 2004 16:49:11 +0000 (UTC)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all !

I am trying to get cURL to download a file via https.

All works fine when I can get the Root certificate of the server and pass it to
cURL via --cacert CA.crt

Question is:
How do I do that if the server uses a self signed certificate ?

Even more convenient would be if I could just get it to verify a certificate
against itself, i.e. the user saves the certificate from his browser, and cURL
just checks if the certificate from the server is the same as the saved one
which I pass to it via the command line.

Is that possible ?
Thanks,
panta-admin

-----BEGIN PGP SIGNATURE-----
Version: 6.5.8ckt

iQA/AwUBQUHa4h2e88Id2BOOEQJ59wCgm9ygH6A6nkZC5nnSgHmN4bNUaOYAoOg4
ebHKDFvVw+hTIQzKyiLxTg4p
=tZ2e
-----END PGP SIGNATURE-----
Received on 2004-09-10