Hi, friends,
I try to add the client authentication into a client application.
Two problems block me.
1. It is not allowed to use DER type files in SSL_CTX_use_PrivateKey_file.
It only accepts PEM files.
2. During handshaking, the client application fails in
ssl3_get_certificate_request. In the first time reaching this function,
it goes to err since d2i_X509_NAME returns NULL. The second time entering
here is driven by FD_READ event. Then it exits early by the message_type
of SSL3_MT_SERVER_DONE. So I don't retrieve the certificat request
from server successfully. And, of course, the handshaking fails.
Could anyone tell me how to fix those problems?
Hua
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]