[BUG]webdav(iis6)-net use * is not working from vista rc1

G

Guest

I've IIS 6 with HTTPS enabled directory+basic authentification(without client
certificate req).
Server certificate is not valid but that's OK-it's my test self signed cert.
When I try to map it as network drive though "net use * https://server/dir"
all goes fine-my seems passwod accepted and client cert requested(don't know
why-IIS configured to ignore client cert) but after that I get:

System error 59 has occurred.
An unexpected network error occurred.

What does it means?
By the way,I could not open same dir from IE ever(open as webfolder)-server
doen't accept password.
 
G

Guest

Hi Andrey,

Our apologies for the delay in responding to your query.

When you do a "net use" to a WebDAV share (such as your example below), it
doesn't use Internet Explorer (IE) at any point so it doesn't matter what
version of IE you have installed.

In you particular case, you will have to install the server certificate to a
list of trusted publishers and then try to net use again. To install the
server certificate in the trusted list, you need to do the following:

1. Add the website to the trusted website list in IE.

2. Launch IE in non-protected mode. To do this, you can first go to (Start |
All Programs | Accessories | <right click on Command Prompt> | Launch as
Administrator). From this “elevated†command prompt window, launch IE via:
C:\Program Files\Internet Explorer\IEXPLORE.exe

3. From the elevated/non-protected IE, browse to your website. When you get
the cert error, click on “Continue to Website (not recommended)†and enter
your credentials.

4. You’ll see a “Certificate Error†button next to the address bar in the IE
window. Click on that. Then click on “View Certificatesâ€. In the new window,
click on “Install Certificate†and install the certificate in the default
store.

Once the server certificate is trusted, your attempt to "net use" should work.
Thanks.

-Ather Haleem (MSFT)
 
G

Guest

Thanks for response,but this dosen't work ever.
I tried as you say-add server certificate using
1) "Automatically select the certificate store" option of install cert wizard
2) manually select "Trusted root certification authorities" as target

now I see server cert installed in "Intermediate certification authorities"
and "Trusted root certificate authrities"-both from can be viewed from
"IE/Content/Certificates"

Now,when I try to open website in "admin" IE-it shows "Certificate error" in
right corner anyway,and you can install it second time;-)but this dosen't
change much.
Yes,I can see protected file in IE,I see password prompt and
authentification works fine.But I can't open site using "Open as web folder"
option in IE,I tried both-url of the file which perfectly opened through http
and url of parent dir -https://myserver/folder/-nothing works:
Error-
Internet Explorer could not open https://myserver/folder/ as a web Folder.
Would you like to see its default view instead?

"net use * https://myserver/folder/" command dosen't work-it requires client
cert(mutual auth) as usual-I don't have one at the moment.So I've to create
one,and as it request client cert,it seems I need to install it on
server???But server dosen't require client authentification!!!

Now I've tested it on Vista RTM-same here:-(
Please,help,I don't wanna use Hamachi,and IE6's https webfolder works fine
on XP...("net use *" dosen't work though:)

Thanks.
 
G

Guest

By the way,if I create client cert using:
makecert.exe -sr CurrentUser -ss MY -a sha1 -n CN=%USERNAME% -sky exchange -pe

"net use" dosen't work ever-
C:\Windows\system32>net use * https://myserver/myfolder/
System error 1790 has occurred.

The network logon failed.

from admin cmd.exe.
Server's cert installation needed?
Maybe reboot or secpol/gp /forceupdate can help a little?

Thanks.
 
G

Guest

What's missing here is that you are not storing the server certificate in
your personal store. Once you do that, net use should work.

thanks.

-Ather
 
G

Guest

This dosen't work-from "not protected" IE window I've selected manual
certificate installation and select "Personal" store.Now I've another
certificate for my server in "Personal" store beside of client cert I've
created using "makecert".
"net use" throws same 1790 error.

By the way,why "net" command prompts for client(or server?) cert,showing my
personal store with two certs(one of my server and second I've created for
testing purposes,but this dosen't help),BUT never request user credentials
usual way-as user name/password window in IE,so authentification always
fails(though I've tried to map my client cert on iis to account I want be
authentificated under-useless.)
IIS configured to dosen't require client cert at all!But "net use" think
otherwise...
Explorer dosen't work ever-same error,suggest usual "http" view:-(

I've heard that Webdav implementation(server or client can't remember) has
some problems with nested folders,problem is:I try to map subdir(particularly
subdir of "Virtual folder") of my site,not site itself,so site(and "virtual
folder") has "Read" only permission,and only particular folder of "Virtual
folder" has "Write/Bowse directory" etc. permissions.Maybe,that could be
issue or proxy(I'm working though proxy)?

Strange,why final IE7's webdav works fine on XP?"net use" dosen't work though.

Would you like to see my config files or something?
Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top