Share via


SharePoint 2013: 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.

https://lh4.googleusercontent.com/nCOesnLP_OlhmTcB6k880u12DtyhgWHm1ER3k5D1zbsyjqvlm9A20Mpm06T9eihbkcCj3OnsiQVZJVbhwqczDnSAI9QgN4XkJLPv0f6LkdtFyTT69WlREyYBkCQRnErdAFuIen4v9i9IRN0HsQ

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

https://lh6.googleusercontent.com/DzlMAZw6T_AEQFgSiZZ_-Xv4A-yZontLw1RfFlU7NffpgxdoY0Tn1OxeLV31P5V7xAP4ksC4HKk5l46ue-mJZBVXoCaydkmZAbCNEfrWfjNr2G-SU8vffwZZTPVTDbhn1MlJ69UdrSSmdDb8ug

  • In the Create Self-Signed Certificate dialog, specify a friendly name and then click OK.

https://lh4.googleusercontent.com/hnQicq5Qv_gUUdz2QvpDknHVV04W3oWm8uTC0s3PxRjVB7EzPiQUPpLuaJb0JY7CBTxjwiPK8nOPyHB_JYBPmDa6mMmCAnfMi4JxxIYdQipwZiTXqdCTMiYlvPb0gvpby2CPgQlt11Ji58wObQ

  • The new certificate will be listed on the Server Certificates screen.

https://lh3.googleusercontent.com/Ld4NbR4_HKwpGpkpy-zyn4vBplm6Re_adbjSeY24ICQOKKnPCg6b1HpnEq_C3yC6wSsMaPWf6AIIn0Dwllz9zDcdkIaIBuvHh91DkJNBnNxAyi5QKelGK9O1mwp7WpG7suWdEx2XMg_6pT08cg

  • Click the “Add” button. Select the Type as “https”. Provide the valid port number in “Port:”. Select the valid SSL certificate and click “OK”

https://lh3.googleusercontent.com/OCv60i1UBNTNqH1rJdnfXa5HEujrJyqprfleRxkoQE1Kq1Yli_PHVNJEGFxGnAlPQUjS19vQsoOpKx3tPC3RBj7KJQuaQquwEsnTAg4M76hRLR_gN79rff79vB-tKuKLwUGuynR73hTrymtBOA

  • Make sure the new binding for HTTPS is added.

https://lh4.googleusercontent.com/Peyjp7Iazrcx3ZDWtqSgMu-pSgiBopvJMwCfOgqDWYS9L7XnJA4XZjlPmZR_czc70s79fyzA3Pwi9HdM9ONXFKdEYx25-ToWBRGJxBUG-VYidvcl1QqWmyr6BgpIxqdvOQprj7dQQXP686-QpQ

  • SharePoint Central Administration -> Application Management -> Configure Alternate access mappings

https://lh4.googleusercontent.com/U-FnjDV5HpWBnqYWyRJMNZmYBUi47NfHxgP3lixnavFFAttNSzn3cRYDkibsAt0DBw3Un43MCwisVVkO0MS7C4kFfwUleBwaWKDXAxbnMY2hDCKv-_hJhhi8ITHUfgTpR1waNT_FJ7Kn2JjlgQ

  • Select the portal by selecting “Change Alternate Access Mapping Collection”

 https://lh4.googleusercontent.com/jwvgnUeelbFFwt7YlO8RBcS5GJwS4Lc6jwPSSg1nSTlOBVM9R2UmbykSzNw5U6MgPmgyGqB0kTkDXWm_YDjciWbQbyMBA8eIPy7PBS_lHxP-x2JTqZpbi2ctzrs0Oot4AYwyPdM6

 https://lh5.googleusercontent.com/WY9R1xR2GxAtMRVeJ6i5bMEO3vK-MpbPSpoMRah7Kcuy6YB2cn1zeMOE4FI-RZFN3kvtbt3aDdV6al9rYAZD0fho61ZjyLZSsspTGraMuDNoZNS_Y6NvNww1XuSRspvhwSUpkUoT

  • Click “Edit Public URLs"

 https://lh6.googleusercontent.com/YSYFHXRwxwIJ9xWokW76CNkVuMgIVLvBYLXo7KaHPhGkzPLPlFuWcDYCyqQ9dx8MwIcb1rHMygtXDhTZmC-31_nBQAsTiIw0CzqcxTt9Oh735R7W2na9uE0EQyUTxROmWGU6JXSY

  • 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 

 https://lh5.googleusercontent.com/7H3diisohk4wBz5hY-iWnfmWiUiRkZPrH8nbZp3pkZ_x7OXk-xBYi_SaXcHCv5e2x4qmAU58SdiCmeq5c5D-h45CuiqvK8ezRilyRdse4R6HXmxqS3xaZ20P11OJuUuVcFEoWO_9

https://lh3.googleusercontent.com/dhflBpZazpN7MKMloeB5gwvkE1GEbk_SSaN6UCnzFcbX8vBJSPpomq4XwUu9I9UUzVCHOGAVjYBUytQUQuWUikAy7UT6nCreoo2DRY0DWxQQyinraBX-78RKwjH3OZXQtz3PfKBZ

  • Execute IISRESET command in the command prompt. Render the Portal HTTPS URL in the browser.