A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
SSL on Tomcat
Joined: Sep 21, 2004
Apr 07, 2006 22:49:00
I understand that in order to write a client program that accesses an SSL Web server, the following line of code needs to be inserted in the client code:
System.setProperty("javax.net.ssl.trustStore", "location of keystore file");
The above can be done on a simple program, but how can I set the system property say if the client and server are running on two different machines? Is there away to do the above?
SCJP J2SE 1.4<br />SCBCD J2EE 1.3
Author and all-around good cowpoke
Joined: Mar 22, 2000
Apr 08, 2006 05:56:00
installation should have an extensive discussion on configuring SSL as "/tomcat-docs/ssl-howto.html"
Java Resources at
I agree. Here's the link:
subject: SSL on Tomcat
javax.net.ssl.SSLException: No available certificate
certificate to establish a secured connection(SSL)
Basic auth + ssl on client side
java.net.ProtocolException: unrecognized response from SSL proxy: 'HTTP/1.0 403 Forbidden'
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014