File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 13037
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
It's not a secret anymore!