Re: tomcat mutual authentication doesn't work

2010-09-02 Thread aravidu
Hey.. if you are able to read this again, what I am trying to do now is, set the same thing up in a UNIX box. I created the client keys as i had done previously and exported the key to my local machine so that I can import it into my firefox. however, when i try to import the pkcs12 key.. it is

Re: tomcat mutual authentication doesn't work

2010-08-20 Thread Ognjen Blagojevic
On 20.8.2010 0:44, aravidu wrote: I don't have a client.keystore. Commands I used for creating a truststore adding keys to it: keytool -export -alias clientcert -file client-cert.cer -keystore tomcat.truststore keytool -import -file client-cert.cer -alias clientcert -keystore tomcat.truststore

Re: tomcat mutual authentication doesn't work

2010-08-20 Thread aravidu
Ok. I will follow your steps and get back to you. I will write back in a couple hours.. Thanks very much! -A Ognjen Blagojevic-5 wrote: On 20.8.2010 0:44, aravidu wrote: I don't have a client.keystore. Commands I used for creating a truststore adding keys to it: keytool -export

Re: tomcat mutual authentication doesn't work

2010-08-20 Thread aravidu
I tried your steps and it worked!!! Thank you very very much!! You are awesome!! :-) Ognjen Blagojevic-5 wrote: On 20.8.2010 0:44, aravidu wrote: I don't have a client.keystore. Commands I used for creating a truststore adding keys to it: keytool -export -alias clientcert -file

tomcat mutual authentication doesn't work

2010-08-19 Thread aravidu
Hi All, I am trying to setup mutual authentication for an app in tomcat/webapps/ folder. I have done the following to create a Trust Store for Tomcat 6.0 to use: I created the keystore and truststore too. keystore has a PrivateKeyEntry and truststore has a trustedCertEntry. Here is my

Re: tomcat mutual authentication doesn't work

2010-08-19 Thread Ognjen Blagojevic
On 19.8.2010 22:35, aravidu wrote: I created the keystore and truststore too. keystore has a PrivateKeyEntry and truststore has a trustedCertEntry. Are those self-signed certificates? Could you provide exact commands you used to create them? I believe you must have one key pair for server,

Re: tomcat mutual authentication doesn't work

2010-08-19 Thread aravidu
Thank you so much for your response!! To answer your questions: 1. Yes, they are self-signed certificates. 2. Yes, I am dealing with only one client. I am using firefox. Here is the tomcat.keystore entry: (i believe this will be my ServerPrivateKey)