Monday, July 6, 2015

Convert SharePoint web application from HTTP to HTTPS

Environment: SharePoint 2013, Web Application created in Windows authentication

Requirement: Convert an existing web application from HTTP to HTTPS site.


Configuration

  • Create a Self-signed Certificate :
    • If there is no valid certificate issued by CA you must create a self-signed certificate: 
      • Launch IIS. In the Run dialog, type inetmgr and click OK. 
      • When IIS opens, select the parent node and double-click Server Certificates.

Create a self-signed certificate
  • On the Server Certificates screen, click the “Create self-signed certificate” link in the Actions pane.

Create a self-signed certificate
  • In the Create Self-Signed Certificate dialog, specify a friendly name and then click OK.
Create a self-signed certificate - Specify Friendly Name
  • The new certificate will be listed on the Server Certificates screen.
Server Certificates
  •    Right click the Portal site on which you want to enable SSL and click “Edit Bindings”.
IIS - Edit Bindings
  • Click the “Add” button. Select the Type as “https”. Provide the valid port number in “Port:”. Select the valid SSL certificate and click “OK”
Add Site Binding
  • Make sure the new binding for HTTPS is added.
Site Bindings
  • SharePoint Central Administration -> Application Management -> Configure Alternate access mappings
 Configure Alternate access mappings

  • Select the portal by selecting “Change Alternate Access Mapping Collection”
  Configure Alternate access mappings
  Configure Alternate access mappings
  • Click “Edit Public URLs"
 Edit Public URLs
  • Provide the HTTPS URL in the Intranet zone. The format should be https://[Server Name with fully qualified domain name]:[Port number given for HTTPS]. Eg., https://xyz.com:31450 
 Edit Public Zone URLs
Edit Public Zone URLs
  • Execute IISRESET command in the command prompt. Render the Portal HTTPS URL in the browser.

No comments:

Post a Comment