Hi Rich,

   Did you also set(in the beginning of your code):

        java.security.Security.addProvider(new
com.sun.net.ssl.internal.ssl.Provider());

   I guess you have already installed JSSE.

   If your server is running a test certificate you will need to import the
correct CA root cert into your truststore using:

   keytool -import -file rootCACert -trustcacerts -alias
yourCAalias -keystore c:/pathToYourTrustStore

You might also need the following in your code if using a Test Cert:

      System.setProperty("javax.net.ssl.truststore",
"c:/pathToYourTrustStore");
      System.setProperty("javax.net.ssl.trustStorePassword","yourpassword");

Good Luck,
Abraham

> -----Original Message-----
> From: Rich Catlett [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 30, 2001 10:57 AM
> 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