Reputation: 56501
When I access my localhost of my machine I get the following screen
whereas when I try the same in my server, I getting the following error
HTTP Error 403.4 - Forbidden The page you are trying to access is secured with Secure Sockets Layer (SSL).
I tried replacing http to https, but I am seeing the directory browsing. How to configure the localhost in server to change the screen.
My machine:
OS: Windows 8 IIS version: 8My server machine:
OS: Windows 2012 server IIS version: 8
Please share your suggestions
Upvotes: 15
Views: 41293
Reputation: 41
Remove "require SSL" from the site using the following instructions:
Upvotes: 4
Reputation: 783
It appears you have set "required SSL" for the site and have not assigned a certificate to it.
You have 2 options:
Option 1. Remove "require SSL" from the site using the following instructions:
Option 2. Associate a certificate to your site:
Have a look here
Upvotes: 45
Reputation: 1895
It seems you have selected "Require SSL" settings in the IIS. You need to remove it.
Please use the following steps to fix this error.
Open IIS.
Select your website which has the issue.
Click on the SSL Settings.
Untick the "Require SSL" option.
Upvotes: 1