# the naive question of the month

mark.kennedy@gs.com
Thu, 19 Aug 1999 09:21:28 -0400

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Tony_Fernandes@amsinc.com: "UNIX security (external authentication) thru JAVA"
- Previous message: Hendrik Schreiber: "International Access to interfaces?"
- Next in thread: Jeff Nisewanger: "Re: the naive question of the month"

    From: mark.kennedy@gs.com

    Date: Thu, 19 Aug 1999 09:21:28 -0400

    To: java-security@java.sun.com

    Subject: the naive question of the month

when i run the following and specify an https URL:

import java.net.*;

class ss
{
public static void main (String[] args)
{
try {
URL u = new URL (args[0]);
URLConnection c = u.openConnection ();
}
catch (Exception e) {
System.out.println (e);
}

}
}

i get:

java.net.MalformedURLException: unknown protocol: https

jsee.jar, jnet.jar, and jcert.jar are in the $JAVA_HOME/jre/lib/ext
dir of my linux v1.2 java installation.

and com.sun.net.ssl.internal.ssl.Provider is my security.provider.1
value.

did i miss some 'protocol factory' configuration tweak?

/mark kennedy
goldman sachs

- Next message: Tony_Fernandes@amsinc.com: "UNIX security (external authentication) thru JAVA"
- Previous message: Hendrik Schreiber: "International Access to interfaces?"
- Next in thread: Jeff Nisewanger: "Re: the naive question of the month"