Two Laptop Bag*
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 Android Security Essentials Live Lessons this week in the Android 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: 12761
    
    5
Your Tomcat installation should have an extensive discussion on configuring SSL as "/tomcat-docs/ssl-howto.html"
Bill
 
jQuery in Action, 2nd edition
 
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