views:

96

answers:

2

I have a asp.net mvc application.

Some pages require SSL, is there a way to mimick ssl locally through cassini or IIS 7?

Edit So I followed the directions for the answer below that linked to ScottGu's blog post.

A: 

IIS7 supports SSL, but I don't think Cassini does at all. When I've really needed SSL locally, I use stunnel as a proxy. Whether that works for you or not depends on why you need SSL (with stunnel, your client webbrowser will think it's HTTPS but ASP.NET/Cassini won't).

Mark Brackett
+2  A: 

You can create self-signed SSL certificates on IIS 7. Here is the link:

http://weblogs.asp.net/scottgu/archive/2007/04/06/tip-trick-enabling-ssl-on-iis7-using-self-signed-certificates.aspx

Paulus E Kurniawan