Using SSL with JBoss/Tomcat: key pair selection
A few days ago i spend time searching how to configure JBOss/Tomcat bundle for SSL. You
can find many documents or tips such as SSLSetup (JBoss WIKI)
or Using SSL With JBoss. But my problem
was, that i had keystore with multiple keys. I have been through the many documentations and
have not found any mention about setting appropriate key pair or more precisely his alias.
It was very frustrated to see many simillar connector definitions without any change. Bad news
was missing DTD in XML configuration file and missing this type of parameter in official documentation
SSL Configuration HOW-TO
and in The Coyote HTTP/1.1 Connector reference.
Fortunately helped me Mr. Google and found outlandish patch comment
by Doug Barnes.
These undocumented parameters are keyAlias and keyPass (if you have different password than keystore password).
Related articles
Related CZ Podcast episodes
- #3 · Java 6 SE, Vývoj webových aplikací
Dagi and Filemon discuss Java 6 and web application frameworks. · Czech audio
- #1 · Vývojová prostředí v Javě
The first CZ Podcast episode looks at Java development environments. · Czech audio