ASP.net debug https on localhost

I need to test a method on my asp.net application that should run on https. Is there a way that I can run the application on localhost on https so that I can debug it?

+5
source share
2 answers

You can create a self-signed SSL certificate and then create a web application with SSL and your own certificate on your local computer in IIS (use a URL like http: //dummy.test and add this to the hosts file in the c: \ folder windows \ system32 \ drivers \ etc, specify it 127.0.0.1), then run VS, join the w3wp.exe process, and you can debug it.

SSL IIS 6.0 Resource Kit SelfSSL

+7

, . , SSL dev.

0

All Articles