JBoss Community

Keystore Alias

created by Ulf Borjesson in Beginner's Corner - View the full discussion
Hi,
I am trying to use a certificate on a JBOSS application server. Should I use the same alias in the keystore through out the process?  If I do I get  " Public keys in reply and keystore don't match" and if I change  the alias just for when I import the cert to the keystore the web site comes up  as it is using a non trusted cert. Below is the keytool commands I have used  with my keystore.

keytool -genkey -alias net131 -keyalg RSA -keystore  net131.keystore
keytool -certreq -keyalg RSA -alias net131 -file net131.csr  -keystore net131.keystore
keytool -import -alias net131 -trustcacerts -file net131.net.ucf.edu.crt  -keystore net131.keystore
The cert is from Geotrust and it is a Quick SSL Premium so no chain is needed just a ca root.
Please advice if these are the correct commands to use.
Thank you, Ulf

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community