• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Tomcat with SSL

Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

I'm almost getting close to finishing my configuration of Tomcat.

The trouble I'm having is in regard to both my client application and my browser.

I want that when a user accesses Tomcat with his browser, that it can only access through https, so that I can use certificates to authenticate.

In my client application, when I communicate with axis2, I only want to use http, so I don't overload the server. I'm using apache rampart with password callbacks that use certificates, so there is no problem in not using https.

Now, this is were the problem starts. Here's what I've managed to get to work:

Allow SSL on tomcat, client certification works like a charm with the browsers. However, the server is still accessible through http://localhost:8080. Here is my server.xml in regard to this matter:

Shouldn't it redirect to the 8443 port?

My client application can communicate with no problem through the 8080 port.

So what am I doing wrong?

This is the only way I know of to restrict external access to tomcat.
This tiny ad is wafer thin:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic