[jboss-user] [Beginner's Corner] - Keystore Alias

Ulf Borjesson do-not-reply at jboss.com
Wed Jul 14 10:27:26 EDT 2010

Ulf Borjesson [http://community.jboss.org/people/uborjess%40mail.ucf.edu] created the discussion

"Keystore Alias"

To view the discussion, visit: http://community.jboss.org/message/552547#552547

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100714/0ca9b254/attachment.html 

More information about the jboss-user mailing list