I'm trying to get the minimal client and server code running. It is found in openssl-0.9.4/demos/ssl under the names of cli.cpp and serv.cpp. I've got the code compiled and linked, furthermore the cli.cpp code does seem to work. Here's where I'm runnign into a problem. With serv.cpp we need a certificate in file: foo-cert.pem I attempted to create a certificate manually using the procedure outlined in chap #6 (howto section) of www.mod_ssl.org. All seems to have gone smoothly and the command: openssl x509 -noout -text -in foo-cert.pem seems to work just fine and dumps the proper data. However, serv run against this file fails with the following mesage: 11778:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:610: Now - if I point foo-cert.pem to a known bad file and rerun openssl, I get the same error message. This tells me I think that opennssl and serv are in fact linked into the same libraries and should be functioning in a consistant fashion when reading in the certificate. However - they seem to be not doing this. If anyone can shed some light on what I'm doing worng I'd appreciate it. Thanks. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]