tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nilesh Patil <>
Subject Re: tomcat https
Date Wed, 04 Nov 2009 06:11:04 GMT
Dear  Torleif

      Why you r Using Default Location to Store Keystore..
ypu can Use following command to generate keystore

* c:/keytool -genkey -keyalg RSA -alias tomcat -keystore tomcat.keystore
-storepass tomcat*

Then above command will generate tomcat keystore in current working

and now you can change password in server.xml as *tomcat. *

Nilesh P

On Wed, Nov 4, 2009 at 2:20 AM, Torleif <> wrote:

> Hi
> I am trying to set up tomcat to use https.
> I used "keytool -genkey -alias tomcat -keyalg RSA"
> If I use "changeit" as password for keystore everything works ok.
> If I use a different password it does not work.
> I have modified "server.xml" with keystorePass="newpassword"
> My .keystore is located in default place.
> If I use "changeit" as password, will this be a security risk since this
> is a widely known password?
> Also I run a mailserver with https web interface.
> Can I use a different https certificate in tomcat or must it be the same
> as my mailserver?
> Thank you!!
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message