https url handler installation

shane.ray@bnpgroup.com
Fri, 2 Jul 1999 13:26:07 +1000

From: shane.ray@bnpgroup.com
To: java-security@java.sun.com
Message-Id: <4A2567A2.000CC326.00@SMTP_PARIS1.bnpgroup.com>
Date: Fri, 2 Jul 1999 13:26:07 +1000
Subject: https url handler installation

This seems to be a fairly hot topic, and although many have asked about it,
I am yet to find the information I'm looking for. I have seen the
following section quoted a number of times:

"The java.net.URL class supports, without any modification, the
https://host/object style URL. ....."

And, it seems that a lot of people try to simply do:

URL url = new URL("https://host/object");

and get a java.net.MalformedURLException with the report of an unknown
protocol.

I have seen the responses, indicating that the URL class does support https
but that there needs to be the underlying https protocol handler for this
to happen.

My question is, how do I install the handler? I understand that it can be
obtained as part of things like the Java Web Server or Hot Java. I have
managed to get hold of ssl.jar which seems to contain appropriate classes.
I have placed ssl.jar in my \jre\lib\ext directory (Win NT), which seems to
allow me to reference classes in it from code. It doesn't seem to have
installed the protocol however as I still get the MalformedURLException.

I have scoured the Q&A archive but just can't find any info on this
specifically. Please advise as to how I can install the https protocol and
whether ssl.jar is an extension containing it. If ssl.jar does contain the
correct class, is it ok to use it? If not, where can I get and install a
java extension that contains the https protocol?

Thanks in advance,

Shane.

_____________________________________________________________________________________________________________________________________

L integrite de ce message n etant pas assuree sur Internet, la BNP ne peut etre tenue responsable de son contenu.
Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l expediteur.
----------------------------------------------------------------------------------
The integrity of this message cannot be guaranteed on the Internet. BNP can not therefore be considered responsible for the contents.
If you are not the intended recipient of this message, then please delete it and notify the sender.
_____________________________________________________________________________________________________________________________________