Re: Creating PEM file from peer cert

2001-11-26 Thread ct l
> > > 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

Re: Creating PEM file from peer cert

2001-11-20 Thread ct l
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

Re: Creating PEM file from peer cert

2001-11-20 Thread ct l
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

Creating PEM file from peer cert

2001-11-19 Thread ct l
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