Hi, I have a desperate question. Please help... I have a client and server written on top of OpenSSL. When I used PEM-encoded cert, etc, directly loaded from files (i.e. SSL_CTX_use_PrivateKey_file(...), etc), everything worked fine, but as soon as I switched to using DER-encoded binary data (DER-encoded certs and keys) passed to SSL_CTX_use_PrivateKey_ASN1(...), etc functions, handshake failed. I can't figure out why it's failing from the error message. It could be that the certs, etc. I'm using are not right, but I kind of doubt it. Is there a way to print out more detailed error messages? (the reason for failure) The error I got was this: ========================= 11311:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshak ailure:E:\p3_72_logserver\strong-sentry\extsource\OpenSSL\ssl\s23_clnt.c:445: If you need more info, let me know, please. Thanks. Peter K. ______________________________________________________________________ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
