Is there a way to retrieve the certificate from SSL_CTX?
paul at mad-scientist.net
Tue Mar 5 20:46:50 UTC 2019
On Tue, 2019-03-05 at 11:28 -0800, Wim Lewis wrote:
> On 5. mar. 2019, at 10:14 f.h., Paul Smith <paul at mad-scientist.net>
> > E.g., I'm adding my certificate with SSL_CTX_use_certificate(); is
> > there a way to get it back out?
> Does SSL_CTX_get0_certificate() do what you need?
AHA! That seems to do the trick. If only it were discussed in a man
page , I might have found it... :)
 After you pointed me to it I did find it listed in the ssl(7) man
page, but no info on it.
More information about the openssl-users