I want to get the certificate of the client on the server side. The server use
SSLv3ServerMethod, the client use SSLv3ClientMethod. I have used
SSL_CTX_use_certificate_file ,SSL_CTX_use_PrivateKey_file at the client side, they run
without problem.
Then the server does the following:
SSL_accept;
SSL_get_peer_certificate;
The client does the following:
SSL_connect;
SSL_get_peer_certificate;
The result is that the client can get_peer_certificate sucessfully, but the server get
always NULL with SSL_get_peer_certificate.
Should I do some special work to make the server accept client'scertificate?
Thanks
zhang
-------------------------------------
��ӭʹ�ñ����籨�ֵ���ѵ����ʼ�ϵͳ!
http://btamail.net.cn or http://mail.bta.net.cn
�ͷ����ĵ绰��223 ����ѣ�
��ӭ��169����,�绰:169,�û���:169,����:169.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]