Re: configuring https enabled tomcat using user and CA certificate

2010-11-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abhishek, On 11/18/2010 5:41 AM, Abhishek Srivastava wrote: > well can u tell me the exact way of importing the key. I mean which command > i must use. You have imported a certificate with the alias "root". Instead, you should import a key with the a

Re: configuring https enabled tomcat using user and CA certificate

2010-11-18 Thread Abhishek Srivastava
thanks. well can u tell me the exact way of importing the key. I mean which command i must use. I have one userkey.pem also I have one pkcs12 file which is combination of usercert.pem and userkey.pem...should I merge this with cacert.pem.. *How I can enable my tomcat on https with given cert

Re: configuring https enabled tomcat using user and CA certificate

2010-11-18 Thread Mark Thomas
On 18/11/2010 09:04, Abhishek Srivastava wrote: > SEVERE: Error initializing endpoint > java.io.IOException: Alias name root does not identify a key entry That tells you what is wrong. You have imported the cert but not the associated private key. Mark ---

configuring https enabled tomcat using user and CA certificate

2010-11-18 Thread Abhishek Srivastava
I have both user and CA certificate and trying to import into keystore "newkeystore" file *C:\>keytool -import -alias root -keystore newkeystore -trustcacerts -file cacert.pem* *C:\>keytool -import -alias tomcat -keystore newkeystore -file usercert.pem* then I have configured this newkeystore