I already added that in the ${java.home}/jre/lib/security/java.security 
as the number 2 security provider.

Lei Chen wrote:

> You need to add another line of code:
> 
>     java.security.Security.addProvider(
>       new com.sun.net.ssl.internal.ssl.Provider());
> 
> -Lei
> 
> -----Original Message-----
> From: Rich Catlett [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 30, 2001 1:57 PM
> To: [EMAIL PROTECTED]
> Subject: Using soap over ssl
> 
> I can't get soap to work over ssl.  It seems to come down to the fact
> that everytime I try to create a URL using the https protocol I get an
> error saying
> java.net.MalformedURLException: unknown protocol: https
> 
> before I try to create the URL I do this
> 
> System.setProperty("java.protocol.handler.pkgs",
> "com.sun.net.ssl.internal.www.protocol");
> 
> so that I
> 
> use Sun's reference implementation of a URL handler for the "https" 
> URL protocol type.
> 
> I'm stumped, can anyone help.
> 
> Rich Catlett
> 

Reply via email to