IIS: Make Your site work with https on local IIS.

To make your site work on the https you need to follow some steps:


  1. Open the IIS
  2. Select the local Server on left side Tree(rootnode)
  3. Now on right hand side area Double Click on Server Certificates
  4. After that on right hand side panel select the Create Self Signed Certificate. Remeber this certificate is not a trusted certificate.
  5. That will open an dialog and give a friendly name and then click OK.
  6. Now on the left panel tree navigate to the Default Web Site or the website and select it,which you want to run on https.
  7. Now on the right hand side panel click on Binding that will open a dialog.
  8. Click the Add button will open another dialog in that dialog you need to slect the type "https".
  9. Then select the certificate you created ob the step 4 and 5 and click OK.
  10. Now you can brows your localhost with https as https://localhost/

Now enjoy using https in your local environment to test the application.

Comments

Popular posts from this blog

LINQ: Using int.TryParse() within a LINQ where clause

IIS: Publish Project to remote IIS with Web Deploy.

ASP.Net MVC: Configuring asp.net session state in SQL Server.