ARTICLE

Configure HTTP over IIS

Posted by Vinit Kumar Articles | WCF with VB.NET September 23, 2011
In this article, you will learn about how to create certificate and configure HTTP over IIS to expose WCF REST Services over HTTPS.
 
Reader Level:

Introduction: Configure HTTP over IIS.

This artical is all about how to configure HTTP over IIS to expose the WCF REST Services over HTTP.

There are three steps used for exposing a WCF REST Services over HTTP:-

Step 1: Create Certificate

There are two ways of creating certificates:-

  • Create your own certificate.
  • Use a 3rd party provided certificate.

Here, I am creating my own certifricate. To create a certificate, Open 'inetmgr' in Run dialog box:

Inetmgr

In the center,you will see an option of Server Certificates.Double click on that.

Server Certificates

Now, see in the left, there will a option of 'Create Self Signed Certificate......' click on it.

A dialog box will appear, specify the friendly name as you desire:

Step 2: Configure HTTPS in IIS

The next step is to configure SSL in IIS.For this purpose follow the step below:

  1. Open IIS.
  2. Right click on Sites folder.
  3. Select Default Web Site.
Sites

Select SSL Settings from the Default Web Site Home as shown in the figure:

SSL Settings

Click on Binding option of Edit Site in the left pane as shown in the figure as below:


Bindings

Now, a dialog box will appear. Click on ADD button to add a Binding for HTTPS.

Add HTTP

Select HTTPS from dropdown list:

HTTPS

Now we need to select a SSL Cerificate from drop down list and select the name which you specifies previously:

SSL Certificate

HTTP is configured as below:

Configured HTTP

Login to add your contents and source code to this article
share this article :
post comment
 
Become a Sponsor
PREMIUM SPONSORS
  • Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
    The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
Nevron Diagram
Become a Sponsor