my dog learned polymorphism
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 13018
Your Tomcat installation should have an extensive discussion on configuring SSL as "/tomcat-docs/ssl-howto.html"
I agree. Here's the link:
subject: SSL on Tomcat
jQuery in Action, 3rd edition