cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: HTTPS in Curl - server certificate

From: Hulka Bohuslav <bhulka_at_app.cz>
Date: Mon, 13 Nov 2000 14:09:57 +0100

>> Could anyone help - is it possible to dump public server certificate
>> during connecting via Curl https?
>I'm not sure what kind of dump you want, but if you try the -v option when
>connecting curl to a HTTPS site, you'll see some certificate information.

Thank you, I've tried it before. My problemm is how to verify the
certificate of the server I am communicating with? I think info about
subject and issuer are not enough.
I consider two possibilities: to store truste certificates or to ask some CA
or to combine this two possibilities. And my question is: Does CURL support
something like that? Or should I use OpenSSL to verify server before trusted
connection?

Thanks
Bohuslav Hulka
Received on 2000-11-13