Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL / Https? #9

Open
Guacam-Ole opened this issue Mar 16, 2015 · 2 comments
Open

SSL / Https? #9

Guacam-Ole opened this issue Mar 16, 2015 · 2 comments

Comments

@Guacam-Ole
Copy link

I need to run this server under https.
As I did not find anything in the docs: What has to be done to enable ssl here?

@liyi828328
Copy link

After my experiment, this project cannot be conducted on the browser to access.

@missaak
Copy link

missaak commented Sep 17, 2015

I don't know if any change has happened but you have to assign certificate to port you are using.
Run as administrator following command (replace port (8880), certificate hash and app id from your AssemblyInfo:
netsh http add sslcert ipport=0.0.0.0:8880 certhash=0be1756f938ebcc2f4facc7d4ea05d5a5a72d64f appid={b5ceab04-be4d-4563-9bb7-21e4238591e1}

After that you can start WebDAV with listening on assigned port:
server.Listener.Prefixes.Add("https://localhost:8880");
server.Start();

and connect client (eg. Windows Explorer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants