cURL / Mailing Lists / curl-library / Single Mail

curl-library

Authenticate Server certificate

From: Sai Pulugurtha <pulugurtha_at_hotmail.com>
Date: Wed, 08 Oct 2003 10:48:26 -0500

1. Submitting http transaction and the response would be the correct URL
(https) for access.
2. Checking the certificate on the server (URL returned above). Validate
that the
    -- certificate ends with .hostname.com
    -- URL in the certificate match URL retrieved above
    -- Certificate is from a valid certificate authority
    -- Certificate must not be expired.

How do I get server certificate using cURL? The only way I saw so far is by
doing a verbose/debug mode and parse the response string for the items I'm
looking for. I believe, there should be a better way of doing this.

Thanks in advance,
Sai

_________________________________________________________________
Get MSN 8 Dial-up Internet Service FREE for one month. Limited time offer--
sign up now! http://join.msn.com/?page=dept/dialup

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
Received on 2003-10-08