HTTPS/SSL Redirect Error for Exchange and IIS

After installing a new Exchange 2013 server I was experiencing some issues after installing a new SSL Certificate and trying to make http:// auto redirect to https://

Depending upon the issue you are having this could solve both in 1 shot.

 

You receive an Error like:

Server Error:
403 – Forbidden: Access is denied. You do not have permission to view this directory or page using the credentials that you supplied.

The Solution:

1. Within IIS > Default Site > SSL Settings

2. Change this:

ssl-settings-iis-wrong

3. To This:

ssl-settings-iis-correct

4. Click “Apply” on the right hand side, you make need to restart iis server by issuing the following command into the command line

ssl-iisreset-cmdline

5. After a few minutes the IIS service will stop than restart itself.

6. Simple create a blank html document and place the following code in it.  Then put this file into root IIS INETPUB directory.

a. My IIS root directory is located here: “C:inetpubwwwroot” and the file I created is “C:inetpubwwwrootiisstart.htm” (this file may already exist you just need to change the contents of the file.

 

Great your done! Your site should automatically redirect to HTTPS instead of just presenting an error.

 

 

 

Leave a reply:

Your email address will not be published.

Site Footer