How to configure HTTP to HTTPS redirect for OWA

Thank to: http://markgossa.blogspot.com/


To configure this redirect and also require SSL, go through the steps below:

1) Click on “Default Web Site” in IIS on your Exchange 2013 CAS or multirole server or on your Exchange 2016 server. Then double click on “HTTP Redirect”

image


2) Tick “Redirect requests to this destination” and type in the full OWA URL e.g. https://mail.litwareinc.com/owa. Also tick “Only redirect requests to content in this directory (not subdirectories)” then click Apply.

image


3) Double click on “Default Web Site” to return to the home menu then double click on SSL settings:

image


4) Untick “Require SSL” then click on Apply:

image


5) Click on the Autodiscover virtual directory then double click on HTTP Redirect:

image


6) Untick “Redirect requests to this destination” then click Apply:

image


7) Repeat steps 5 and 6 for the other virtual directories under the “Default Web Site” which are listed below:

  • ECP
  • EWS
  • MAPI
  • Microsoft-Server-ActiveSync
  • OAB
  • OWA
  • PowerShell
  • RPC

8) Reset IIS so that the settings take effect:

iisreset /noforce

image


9) Confirm the settings are correct and that you can now open up OWA by browsing to http://mail.litwareinc.com/owa:

If you refresh the page using CTRL-F5 or open up a new browser instance and browse to http://mail.litwareinc.com, you will see it now redirects to https://mail.litwareinc.com/owa and we can log in without a problem:


image


image

image

Comentarios

Entradas populares de este blog

Guía de herramientas básicas para estudiantes: 31 apps y webs imprescindibles para ayudarte con los estudios

Comando FOR para archivos BAT

How to Fix Failed to Connect a Hyper-V Standalone to Veeam Backup