curl-users
Curl --cert option
Date: Tue, 27 Jan 2004 19:21:08 -0800
>> -E/--cert <cert[:passwd]> Client certificate file and password (SSL
Is it possible to send more than one certificate to the https server ?
This would be nice to use with https servers that support Subordinate
Certificates.
Thanks,
Pedro
Example:
********
Configuration:
Our certificate chain:
rootCA
root-subCA
root-subCA-cert
The Https server has the following cert:
root
We send:
root-subCA
root-subCA-cert
The server should be able to authenticate our certificate.
The problem is that curl does not seem to be able to send
the root-subCA certificate.
Command:
curl -E cert.PEM -v https://xxxxxx/
<cert.PEM> file example:
----BEGIN RSA PRIVATE KEY-----
(our certificate key)
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
(root-subCA-cert)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(root-subCA)
-----END CERTIFICATE-----
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Received on 2004-01-28