Click here to Skip to main content
13,355,018 members (58,364 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


6 bookmarked
Posted 8 Feb 2014

Enabling SSL with IIS Express in Visual Studio

, 8 Feb 2014
Rate this:
Please Sign up or sign in to vote.
Enabling SSL with IIS Express in Visual Studio


Through this tip, we are going to enable SSL with IIS Express in Visual Studio.


IIS Express is a lightweight and tiny version of IIS for developers to run and test the web sites directly from Visual Studio. I hope by this time you must be using it as your default development web server as well. Just to quickly recall, IIS Express was introduced with VS 2010 SP 1, where we used to have both Visual Studio Development Server (WebDev.WebServer) and IIS Express. However with Visual Studio 2013, IIS Express has been set as a default web server.

Using the Code

There are several features of IIS express which you can find very useful and be used in a similar way that we do with IIS. One of the great features of IIS express is to run your application in both default and SSL mode. You can achieve this very easily.

To enable the SSL with in IIS Express, you have to just set “SSL Enabled = true” in the project properties window.

By default SSL enabled is set to false with IIS Express; so if you run your web application first time, you will only be able to find the default URL and you can access the site over http.

Once the SSL is enabled (SSL Enabled = true); you can find both the URLs available in application browser window.

Points of Interest

With this, you can access any of the URLs from your browser and run the application in both modes.

Hope this helps.

Please let me know if you have any questions or comments.


  • 8th February, 2014: Initial version


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Ahmed Bensaid
Architect Hawaii Consulting
France France

Software architect, web performer and mobile programming explorer ...
Wish to launch his own company in the near future.

Professional email : ahmed[at]

Linkedin | Viadeo

You may also be interested in...

Comments and Discussions

QuestionEnabled but my browser does not support sha1 , it supports sha256 Pin
Soumalya Pramanik18-Jun-16 5:01
memberSoumalya Pramanik18-Jun-16 5:01 
QuestionA bit of a problem with testing Pin
mlowry29-Oct-15 5:45
membermlowry29-Oct-15 5:45 
QuestionHow to view the Project Properties Pin
Bret Williams13-Aug-15 7:56
memberBret Williams13-Aug-15 7:56 
Questionenabled but working? Pin
Member 94305719-Mar-14 9:16
memberMember 94305719-Mar-14 9:16 
Answerhelpful Pin
kosiso8-Feb-14 23:29
memberkosiso8-Feb-14 23:29 
GeneralRe: helpful Pin
Ahmed Bensaid9-Feb-14 2:29
professionalAhmed Bensaid9-Feb-14 2:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.180111.1 | Last Updated 8 Feb 2014
Article Copyright 2014 by Ahmed Bensaid
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid