The client app in the demo does not include certificates.  Examine the
server app code and cut and paste the certificate code.  That will
enable your client app to send a certificate.

To create a new certificate, at least how I did it on WinNT, was to
run testss.bat after modifying the appropriate .cnf files.

Hope this helps...

----- Original Message ----- 
From: Lakshminarayanan Venkatesan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 02, 2000 3:37 PM
Subject: Client Authentication


> Hi,
> 
> This problem may be old, but i am using SSL for the first time & the
>  demo client/server program inder openssl-0.9.6/demos/ssl directory is
> not authentication
>  the client certificate.
> 
>  Please let me know how to create the certificate file for the client
>  which gets authenticates at the server side
>  when the server calls the  client_cert = SSL_get_peer_certificate(ssl);
> 
> The SSL_get_peer_certificate(ssl) at the server side returns NULL and so
> the
> server says "Client does not have the certificate."
> 
> Pls help me resokve this problem.
> 
>  Waiting for ur reply asap.
> 
> Thank you,
> 
>  --Laks
> 
> 
> 
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to