Click here to Skip to main content
15,940,550 members
Articles / Productivity Apps and Services / Sharepoint

Create an SSL Site in SharePoint 2010

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
16 Aug 2012CPOL3 min read 27.3K   1   1
How to enable SSL on a SharePoint site.


As part of development activities we might need to create an SSL enabled site inside SharePoint 2010. These sites will be accessed using HTTPS instead of HTTP.

For example:

Image 1

HTTPS is the secured way of communication between server and client. Here the message is encrypted between client and server. An encryption mechanism is needed protect the message from being manipulated by unwanted parties.

HTTPS works by installing a certificate in the server side web application. This certificate is used to encrypt the messages between client and server.  The encryption is based on a public key and private key usage. The public key will be shared with client for encrypting the message and the decryption is performed on the server side using the private key.

Note: Stealing the public key does not do any favour in decrypting the message using Man In the Middle attack as Public key can only be used for encryption.

Please following the steps given below to create a new SSL enabled SharePoint site.

Step 1: Create New Web Application

Go to Central Administration and open the Manage Web Applications link. Create a new Web Application with the following properties:

  1. Name as My Secured Site
  2. Use Secured Sockets Layer (SSL) Yes

Image 2

Image 3

Click the OK button to create the new web application.

Now add a new site collection inside the newly created web application.

Central Administration > Create Sitecollection > Choose current web application

Step 2: Set the Certificate

For SSL enabling you need to specify a Certificate in the Server which contains the public and private keys. Go to Internet Information Services (IIS / inetmgr.exe) and select the newly created site. Click on the Bindings link from the right side.

Image 4

In the appearing dialog select the https item and click the Edit button.

Image 5

In the appearing dialog select the Certificate from drop down list.

Image 6

Click the OK button to continue.

Step 3: Test the URL.

Now you are ready to test the HTTPS url.  Open a browser and enter the url of the web site. You can also you the Browse link from IIS.

You will get the page as shown below. It says the certificate is not trusted one. You can use the Continue link to proceed with.

Image 7

Now you should be prompted with the site credentials. Enter the credentials to continue and you should get the site collection which you have created.

Image 8

Wow! If you can see the above site then you are done with your SSL enabled site. Please note that the URL now starts with https.

Adding SSL (https) support to an existing web application

You can add SSL support to an existing web application by performing the following:

  1. Open IIS manager
  2. Select the web application
  3. Choose Bindings dialog
  4. Add new binding of type https
  5. Select the Certificate
  6. Click the OK button


In this article we have seen how to enable SSL on a SharePoint site. I hope you were able to create a successful SSL enable SharePoint site.


  1. MSDN on SharePoint SSL
  2. SSL, Public Key, Private Key


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

Written By
United States United States
Jean Paul is a Microsoft MVP and Architect with 12+ years of experience. He is very much passionate in programming and his core skills are SharePoint, ASP.NET & C#.

In the academic side he do hold a BS in Computer Science & MBA. In the certification side he holds MCPD & MCTS spanning from .Net Fundamentals to SQL Server.

Most of the free time he will be doing technical activities like researching solutions, writing articles, resolving forum problems etc. He believes quality & satisfaction goes hand in hand.

You can find some of his work over here. He blogs at

Comments and Discussions

SuggestionThanks! Still some Improvements. Pin
Abu Benadam15-Aug-13 3:45
Abu Benadam15-Aug-13 3:45 

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.