Yes I have uncommented out the connector element in the server.xml. and
be able to successfully open the https url
(https://localhost:8443/slide/files/test.html) in browser. Even in web
folder I can connect to server through ssl. However, I want to connect
to server through ssl in my java application. That's the reason I want
to make slide webdav client work with ssl.
Thanks

-----Original Message-----
From: Raj Kumar [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 28, 2001 4:52 PM
To: [EMAIL PROTECTED]
Subject: RE: SSL support in webdav client library


hi,
  I do not think the webdav client classes have any thing to do with
this.
  Have you uncommented out the connector element in the server.xml file
that 
  creates a Socket on the server side that uses HTTPS?
  Are you able to open the same url in the browser ?
  Does your request reach the server at all?
  Try running the command line example using the -d option for
debugging.
      rajkumar 

-----Original Message-----
From: Jiantao Pan [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 28, 2001 1:34 PM
To: [EMAIL PROTECTED]
Subject: RE: SSL support in webdav client library


Thanks Raj.
 However, when I followed the steps and verified that the jsse is setup
right.
Then run the org.apache.webdav.cmd.Slide with 
-Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
 option
 when typing "open https://localhost:8443";
 It give me:Error: Unable to process request. 
 I guess the HttpClient class support ssl, However other webdav client
class does not. Please let me know if you have any suggestions on this.

 
-----Original Message-----
From: Raj Kumar [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 28, 2001 4:02 PM
To: [EMAIL PROTECTED]
Subject: RE: SSL support in webdav client library


hi,
   There is support for the ssl in the webdav client library.
   Some configuration needs to be done for the VM on the cient side
running the Webdav Client classes.
   I am attaching the documentation that comes with the HttpClient class
.

      /**
       * HTTP client main class.
       * <p>
       * HTTPS URLs are now supported.  To use HTTPS, you'll
       * need an implementation of the
       * <a href="http://java.sun.com/products/jsse/";>Java Secure
Sockets Extension</a>
       * installed and configured.  Make sure that you've enabled
       * the appropriate provider with your JRE (e.g., set
       * <br>
       *
<tt>security.provider.<i>&lt;n&gt;</i>=com.sun.net.ssl.internal.ssl.Prov
ider</tt>
       * <br>
       * in your JRE's <tt>java.security</tt> file) and with the
       * VM that is running the HttpClient (e.g., set the
       * system property <tt>java.protocol.handler.pkgs</tt>
       * to include your provider, such as
       * <tt>com.sun.net.ssl.internal.www.protocol</tt>
       * for the reference implementation of JSSE).

          rajkumar
 

-----Original Message-----
From: Jiantao Pan [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 28, 2001 12:54 PM
To: [EMAIL PROTECTED]
Subject: SSL support in webdav client library


Hi,
  It seems to me that the webdav client library currently does not
support SSL. Correct me if I am wrong. 
  Could anyone give some suggestions or pointers on how to add SSL
support to the webdav client?
  Thanks and have a good one.
Jiantao
   

Reply via email to