> my last mail seem to be lost somewhere.. 

I got it!
 
> Hi all, 
> 
> Im testing an SSL server with s_client. I  want to implement  
> client authentication. 
> 
> The problem is even if I include the certificate and key file 
> in my client call, SSL_get_peer_certificate() 
> returns NULL 
> 
> I tried the following calls, 
> 
> a) S_client -connect ip:port   
> b) s_client -connect ip:port -cert clientcert.pem -key 
> clientPrivkey.pem 

I would think you would need to specify the root certificate
using the -CAfile option.

Cheers, Mark
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to