> > > Do not access members of the SSL object
> (ssl->...)
> > > directly, as these
> > > structures may change. Please use the offical
> API
> > > SSL_get_peer_certificate(),
> > > SSL_get_peer_cert_chain() to obtain the
> > > X509 objects. You can then simply write them to
> file
> > > using the
I composed a reply w/ questions early today, but still
not shown on web. So I doubt the msg got lost. Sorry
if the msg repeated.
Thanks much, Lutz.
> Do not access members of the SSL object (ssl->...)
> directly, as these
> structures may change. Please use the offical API
> SSL_get_peer_certifi
Thanks much, Lutz.
> Do not access members of the SSL object (ssl->...)
> directly, as these
> structures may change. Please use the offical API
> SSL_get_peer_certificate(),
> SSL_get_peer_cert_chain() to obtain the
> X509 objects. You can then simply write them to file
> using the
> PEM_write_X
During peer cert verification stage, I need to store
the peer cert info in PEM file format for future
reference.
May I know: Based on info in ssl->cert, what fields
and how should I arrange the fields so that I can
store the peer cert as a PEM file for future
verification ? The intention is to s