File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Tomcat SSL Context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat SSL Context" Watch "Tomcat SSL Context" New topic

Tomcat SSL Context

ramkumar subbarao

Joined: Aug 26, 2001
Posts: 5
I've set up Tomcat for SSL communication, and it does work. But I have a question that, how can I setup the Tomcat to use a specific connector for the context?? Say I've setup SSL connector as port 8443 and the normal http connector as port 8080, and I have a context with path /myweb. Now I can use http://localhost:8080/myweb or https://localhost:8443/myweb to connect to the same page..... how can I set such that only https://localhost:8443/myweb can connect to the page but not the normal http??
I agree. Here's the link:
subject: Tomcat SSL Context
It's not a secret anymore!