Hi All,

 I am new to openssl, and having trouble with certificates.

I have setup a local CA and issued a self signed trusted certificate for
this, say root.pem.
>From this trusted certificate, generated a client certificate from the
root.pem CA certificate.
Created a ServerCA certificate from root.pem CA certificate. Generated a
server.pem server certificate from ServerCA certificate.

My server program uses the server.pem and client uses client.pem
certificates respectively.
After issuing SSL_connect() from client, the below error is displayed and
the program exists.

-Error with certificate at depth: 0
 issuer = /CN=Example CA/ST=Virginia/C=US/emailAddress=
[EMAIL PROTECTED]/O=Root Certification Authority
 subject = /CN=Example CA/ST=Virginia/C=US/emailAddress=
[EMAIL PROTECTED]/O=Root Certification Authority
 err 18:self signed certificate

The Server also exists stating the below error

** server.c:59 Error accepting SSL connection
16386:error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown
ca:s3_pkt.c:1052:SSL alert number 48

Why is the certification verification failing.
Any help is appreciated..

-- 
thanks,
Lakshmi Prasanna

Reply via email to