Tomcat, IIS and SSL

From: Roger Varley (roger_varley_at_yahoo.com)
Date: 02/28/05


Date: 28 Feb 2005 09:55:56 -0800

Hi

I'm running Tomcat 5.0.21 behind Microsoft IIS 5.0 on my web server. My
servlet is expecting to read XML data from the servlet InputStream()
and I have a test program outside the server that supplies that data by
writing to a URLConnection OutputStream Everything is working fine
until I set the webapp/myAppDir to require SSL 128 bit encryption
through IIS. When I run my test program to the Http address I get a 403
error as expected. Changing my program to use https then I get
"javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: No trusted certificate
found". Obviously I need to do something on the PC that runs the test
program, but could someone point me to documentation/tutorial on what
to do, or is there a workaround that I can use - all I need to do is
test that the servlet works the same way via HTTPS - the sending
program is just to simulate what will be coming from a customers system
and I'd like to know it works before getting the customer involved.

Regards
Roger



Relevant Pages

  • How to put uploaded files in web application directory?
    ... In my web application I load a file. ... In my servlet I specify that the ... file should be saved in System.getPropertyexpecting that ...
    (comp.lang.java.help)
  • putting files in tomcat application directory
    ... In my web application I load a file. ... In my servlet I specify that the ... file should be saved in System.getPropertyexpecting that ...
    (comp.lang.java.programmer)
  • Re: The Most optimized way to do this
    ... I am using jdom to read xml data from 1000 xml file and extract the ... and update to our MYSQL database. ... I am using servlet to call jdom and do the job in the Tomcat servlet ...
    (comp.lang.java.programmer)
  • The Most optimized way to do this
    ... I am using jdom to read xml data from 1000 xml file and extract the ... and update to our MYSQL database. ... I am using servlet to call jdom and do the job in the Tomcat servlet ...
    (comp.lang.java.programmer)