Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Tomcat and the fly likes SSL Configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "SSL Configuration " Watch "SSL Configuration " New topic

SSL Configuration

yadhunandan ramaiah

Joined: Sep 20, 2005
Posts: 6
I have two diffrent application in tomcat webapp folder APP1,APP2 now i have to configure SSL for both these application.
I have created a CSR and got the cretificate for APP1 and in server.xml i have modified the SERVER.xml <Connector element.
Now how to go abt for the second application that is it the same way.

should i create one more keystore some thing like that??

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

They can both use the same keystore.
In server.xml, you let Tomcat know where the keystore is with the keystoreFile attribute.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
It is sorta covered in the JavaRanch Style Guide.
subject: SSL Configuration