Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to enable SSL on my local computer for an asp.net 4.0 web site. What steps do I need to take? I want to use a free SSL certificate.

share|improve this question

migrated from stackoverflow.com May 4 '11 at 6:24

This question came from our site for professional and enthusiast programmers.

2  
Googling "asp.net ssl" gives a ton of results. –  Pekka 웃 May 4 '11 at 4:39

4 Answers 4

If this is for development purposes with Visual Studio 2010 SP1:

  1. Install IIS Express 7.5.
  2. Open your web project in Visual Studio 2010.
  3. Right click the project and select "Use IIS Express".
  4. Select the project in the soultion explorer and open the properties window (don't right click and open properties, you need the properties window that you can get with pressing F4 by default, used with the designer usually)
  5. Set SSL Enabled to true.

If this is for serving web pages outside of development, that entirely depends on your setup.

share|improve this answer

If you want to use SSL on your localhost for testing, use a self signed cert.

Self Signed Cert

share|improve this answer

Here's info on free SSL / TSL solution: https://www.startssl.com/

Haven't tried this myself, but documentation etc. seems to be OK.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.