"Mark Thomas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > William Chu wrote: >> Hello, >> >> When configuring tomcat for HTTPS, how does tomcat know which key to >> use? If you run the keytool command multiple times, you generate >> multiple keys. The keys are stored in the .keystore file and so if I >> generate multiple keys, which one gets picked? > > By default, the one with the alias "tomcat". AFAICT there is an > undocumented attribute available on the https connector called > keyAlias that should allow you to change this. >
But this requires a mimimum of TC 3.3.2, using the CoyoteConnector. It doesn't work with 3.3.1. > Mark > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]