cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Download SSL Server Certificate?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 8 Oct 2015 13:49:04 +0200 (CEST)

On Thu, 8 Oct 2015, Boris Lenz wrote:

> So all I wanted to know is whether there's a curl equivalent to the
> openssl's feature mentioned above, to print out the cert (chain), even in
> cases where the actual handshake fails. Apparently, there isn't.

libcurl has a feature (CURLOPT_CERTINFO) that offers the data you're asking
for (and some more), but nobody has yet made the command line tool use that...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-10-08