This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "SSL on Tomcat" Watch "SSL on Tomcat" New topic
Author

SSL on Tomcat

M Jay
Ranch Hand

Joined: Sep 21, 2004
Posts: 66
Hi,

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?

Thanks


SCJP J2SE 1.4<br />SCBCD J2EE 1.3
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12759
    
    5
Your Tomcat installation should have an extensive discussion on configuring SSL as "/tomcat-docs/ssl-howto.html"
Bill
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: SSL on Tomcat
 
Similar Threads
Basic auth + ssl on client side
javax.net.ssl.SSLException: No available certificate
java.net.ProtocolException: unrecognized response from SSL proxy: 'HTTP/1.0 403 Forbidden'
certificate to establish a secured connection(SSL)
SSL Sockets