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 directory. and now you can change password in server.xml as *tomcat. * Regards, Nilesh P On Wed, Nov 4, 2009 at 2:20 AM, Torleif <torl...@askedal.net> 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: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >