Re: Can a Java Applet make a URL Connect to an https (port 443) server?

David Brownell -- JavaSoft (db@doppio)
Thu, 27 Mar 1997 11:56:51 -0800

Date: Thu, 27 Mar 1997 11:56:51 -0800
From: db@doppio (David Brownell -- JavaSoft)
Message-Id: <199703271956.LAA09675@argon.eng.sun.com>
To: java-security@java, adazz@surecom.com
Subject: Re: Can a Java Applet make a URL Connect to an https (port 443) server?

> I have a Java Applet that I wish to execute a cgi program which
> resides on an https server (port 443). The html doc also resides
> on the https server.
>
> I can't get the URL class to allow and https protocol. Do you have
> some examples that might help?

You need to have a version of the Java platform which comes
bundled with an HTTPS URL handler ... such as Netscape Navigator
and some versions of HotJava.

Any sample code that works with "http://..." URLs should work fine
using "https://..." URLs in the appropriate environment(s).

- Dave