How can I secure tomcat's application manager with ssl ? I already have the certificates for the site.

Thanks

link|improve this question

feedback

3 Answers

up vote 1 down vote accepted

Define the admin app inside a SSL connector.

http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html

link|improve this answer
feedback

you can use nginx or apache in front of your tomcat to control access easily.

link|improve this answer
I tried with apache and mod_proxy, but when it redirects to the manager app it goes plain-text. – xain Feb 27 '11 at 14:58
check this: confluence.atlassian.com/display/DOC/… – aligot May 3 '11 at 12:19
feedback

You could try adding user-data-constraints in tomcat manager's web.xml. That might do the trick:

<user-data-constraint>
  <transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>

Maybe insert them before the /security-contraint closing tag in the HTML Manager commands section of that web.xml:

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.