Is there a function for reading a x509 PEM cert from an environment var or from a const char * instead of a stream? I have been tracing the x509 code as I want to produce a stand alone program to list out the CN and a few components from the certificate. In the x509.c code you do a BIO_set_fp(cert,stdin,BIO_NOCLOSE) for the certificate passed through the stdin stream. Can I use the BIO_read function Bob Weeks ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]