Posts

Connecting a Windows client to a WebDAV drive

There are several third party products available to connect a Windows client to a WebDAV drive. This guide will explain how to do it with using native Windows and has been tested using Windows 7 but should work for other versions too. For Windows server 2003, Windows XP and Vista users, you first need to download a web folders patch from Microsoft.

It is a recommendation that you connect to the WebDAV drive using encryption (SSL), i.e. https. If you have a real, non self signed, certificate for your host, you’re good to go (the one that makes they key symbol in your browser show locked, green and give no warnings). Just skip down to the section describing how to setup the connection.

 

Using a self signed SSL certificate

If you are using a self signed SSL certificate, or signed by a non trusted certificate authority (CA), you will get the error message “An unexpected network error occurred” when trying to connect the WebDAV drive.

If you are using a self signed certficate, make sure it is issued for the hostname you are accessing the WebDAV drive through. If not, you must create a new certificate issued for the hostname of your WebDAV host. No workaround on that part as far as I know.

When you have a self signed certificate for your WebDAV hostname installed on your WebDAV server you must add the certificate on the client. This is how you do it:

  1. Run Internet Explorer as Administrator (right click on it and select “Run as administrator”)
  2. Go to your WebDAV host by entering the hostname in the address bar, like https://mywebdavhost (make sure you use https:)
  3. Select “Continue to this website (not recommended)”
  4. Click on the “Certificate error” displayed in red in the address bar
  5. Click on “View certificates”
  6. Click on “Install certificate”
  7. Click on “Next” in the Import wizard
  8. In the next step, select “Place all certificates in the following store” and click “Browse”
  9. Select “Trusted Root Certification Authorities” and click OK
  10. Click “Next”
  11. Answer “Yes” to the security question

 

Setting up Windows to map a network drive using native WebDAV

When your SSL certificate is sorted out (either by using a real certificate or a self signed one using the above steps), you are ready to map the network drives.

  1. Start the file manager, for example by clicking the Start menu and then click on “Computer”
  2. In the top of the file manager window, click on “Map network drive”
  3. Select folder letter, for example Z:
  4. The folder, enter the URL of your WebDAV host, like https://mywebdavhost
  5. Select “Connect using different credentials” and optionally “Reconnect at logon”
  6. Click “Next”
  7. Enter the WebDAV host user name and password and if you previously selected “Reconnect at logon” it can be a good idea to select “Remember my password”
  8. Click “OK”