cURL / Mailing Lists / curl-library / Single Mail


Patch: Support CURLINFO_CERTINFO with GnuTLS

From: Christian Grothoff <>
Date: Wed, 18 Sep 2013 22:14:47 +0200

Here's a little patch to get CURLINFO_CERTINFO to do something
meaningful if libcurl was compiled to use GnuTLS instead of OpenSSL.

As described in the log, I'd prefer to get PEM as the returned text to
the client, but the OpenSSL API doesn't allow that either. Would you
be happy with a patch to add an option CURLINFO_CERTINFO_PEM that would
return the server certificate in PEM format for machine-processing?

Happy hacking!


List admin:

  • text/x-patch attachment: stored
Received on 2013-09-18