Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Tomcat 5.5 and SSL

Peter Stavrinides

2007-07-18

Replies:

Hi All

This may be a trivial issue for most, but I am quite new to tomcat.

I am trying to configure SSL, These are the steps I took:

- I have created a key/value pair using the keytool in suns jdk no
problem there
- I have configured the http connector in tomcats server.xml like this:
<Connector port="8443" minProcessors="5" maxProcessors="75"
     enableLookups="true" disableUploadTimeout="true"
     acceptCount="100" debug="0" scheme="https" secure="true"
     clientAuth="false" sslProtocol="TLS"
keystoreFile="/opt/irm-server/conf/.tomcat5key"      
     keystorePass="my secret password" />

- I added the following to my web.xml:
 <user-data-constraint>
      <transport-guarantee>
       CONFIDENTIAL
     </transport-guarantee>
  </user-data-constraint>

After restarting tomcat the port changes correctly, so it appears to be
working but the page wont come up in the browser.
Firefox Error Message:
Unable to connect
Firefox can't establish a connection to the server at
mydomain.myserver:8443.

what am I missing?

thanks in advance,
Peter


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.