RE: SSL_connect fails with SSL_ERROR_SSL

2006-01-31 Thread Ambarish Mitra
ilton Sent: Tuesday, January 31, 2006 4:32 PM To: openssl-users@openssl.org Subject: Re: SSL_connect fails with SSL_ERROR_SSL Okay. The question is: You have a CA. Did you encode the "CA:true" attribute in it? You created a server certificate signed by that CA. How? You created a clien

Re: SSL_connect fails with SSL_ERROR_SSL

2006-01-31 Thread Kyle Hamilton
ot using .PEM certificates, I am using what the keytool created, > got the CSR signed. > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Samy Thiyagarajan > Sent: Tuesday, January 31, 2006 4:03 PM > To: openssl-users@openssl.org >

RE: SSL_connect fails with SSL_ERROR_SSL

2006-01-31 Thread Ambarish Mitra
Samy,   Thanks for your reply. On the server side (Java), I have explictly set client authentication to true.   ks.load(new FileInputStream(KEYSTORE_FILE), passphrase);   kmf.init(ks, passphrase);ctx.init(kmf.getKeyManagers(), null, null);ssf = ctx.getServerSocketFacto

Re: SSL_connect fails with SSL_ERROR_SSL

2006-01-31 Thread Samy Thiyagarajan
Dear all, Using openssl (openssl 0.9.7), I have set up a CA and this CA has issued 2 certs - one for client and the other for the server. I have checked that these certificates are ok. I am attempting to write a SSL client-server program. SSL Server:- Java. It has a keystore, which contain