Re: Is there a way to retrieve the certificate from SSL_CTX?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux