wood burning stoves 2.0*
The moose likes Tomcat and the fly likes SSL on Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "SSL on Tomcat" Watch "SSL on Tomcat" New topic

SSL on Tomcat

M Jay
Ranch Hand

Joined: Sep 21, 2004
Posts: 66

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:

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
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12678
Your Tomcat installation should have an extensive discussion on configuring SSL as "/tomcat-docs/ssl-howto.html"

Java Resources at www.wbrogden.com
I agree. Here's the link: http://aspose.com/file-tools
subject: SSL on Tomcat
Similar Threads
SSL Sockets
certificate to establish a secured connection(SSL)
java.net.ProtocolException: unrecognized response from SSL proxy: 'HTTP/1.0 403 Forbidden'
Basic auth + ssl on client side
javax.net.ssl.SSLException: No available certificate