I the tomcat docs online there is a writeup on running SSL in Tomcat
standalone.  It gives step by step instructions including where to put the
jsse.jar and how to modify your policy file.  I tried it and it worked.

Sean

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 10, 2001 10:37 AM
To: [EMAIL PROTECTED]
Subject: RE: Trying to use https: in Tomcat


I get a NoClassDefFoundError on the statement below. Do I have to make any
run-time changes, i.e. add some JSSE jars to my Class Path or Tomcat ?

> -----Original Message-----
> From: Pae Choi [SMTP:[EMAIL PROTECTED]]
> Sent: 10 May 2001 15:29
> To:   tomcat-user
> Subject:      Re: Trying to use https: in Tomcat
> 
> Did you declared it in the java.securty file? If not, you may need to
> add the line,
> 
> java.security.Provider provider = new
> com.sun.net.ssl.internal.ssl.Provider();
> java.security.Security.addProvider(provider);
> 
> 
> Pae
> 
> 
> >This made no difference at all !
> >
> >> -----Original Message-----
> >> From: Pae Choi [SMTP:[EMAIL PROTECTED]]
> >> Sent: 10 May 2001 14:58
> >> To: tomcat-user
> >> Subject: Re: Trying to use https: in Tomcat
> >>
> >> Place the following line before the "URL" line as:
> >>
> >> java.lang.System.setProperty("java.protocol.handler.pkgs",
> >> "com.sun.net.ssl.internal.www.protocol");
> >>
> >> Alternatively. we can declare it on the command line as well.
> >>
> >> Hope this help.
> >>
> >>
> >> Pae
> >>
> >> -----Original Message-----
> >> From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> >> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> >> Date: Thursday, May 10, 2001 6:40 AM
> >> Subject: Trying to use https: in Tomcat
> >>
> >>
> >> >I'm trying to connect to an url using
> >> >
> >> >url = (URL) new URL("https://xxxxxx";);
> >> >
> >> >In Tomcat
> >> >
> >> >I get the error message
> >> >
> >> >"unknown protocal: https"
> >> >
> >> >Does anyone know how I get around this ?

Reply via email to