Reputation: 7080
Is there a way to access Visual Studio's built-in ASP.NET Development Server over HTTPS?
Upvotes: 115
Views: 117036
Reputation: 6462
As of now we can use IIS Express to develop and test in SSL. Here is a complete article explaning how to use IIS Express and Visual Studion 2010 to develop websites in SSL.
Next
Then you will get this
Working with SSL at Development Time is easier with IISExpress
Upvotes: 150
Reputation: 341
Select the project-file in the Solution Explorer: for example: "WebApplication1".
With pressing ALT+ENTER you enter the project-properties.
Select "DEBUG" on the left side.
Here you can select "Enable SSL".
Then you can start your project with IIS Express normally and it will start using SSL, the new Port will be 44301
Upvotes: 3
Reputation: 21211
Wilco Bauwer wrote a webdev server that will support https. He is one of the developers that worked on cassini visual studio 2005 built in web server. WebDev.WebServer2
Upvotes: 12
Reputation: 175583
Cassini does not support HTTPS.
However, you can use IIS to do this, if your using IIS 5.1, download the MS IIS toolpack for IIS 6.0, it comes with a tool to create self signed SSL certificates. This works on IIS 5.1
The one tool you need (SelfSSL.exe) works just fine with IIS 5.1. Unfortunately, it comes bundled with a bunch of other stuff.
Steps:
At this point, you will be able to run your localhost over HTTPS.
Upvotes: 38