On Tue, 2019-03-05 at 11:28 -0800, Wim Lewis wrote: > On 5. mar. 2019, at 10:14 f.h., Paul Smith <paul@xxxxxxxxxxxxxxxxx> > wrote: > > 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 [0], I might have found it... :) Thanks Wim! [0] After you pointed me to it I did find it listed in the ssl(7) man page, but no info on it.