Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTTP Error 403.4 - Forbidden

Tags:

asp.net

iis

iis-8

When I access my localhost of my machine I get the following screen

enter image description here

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: 8

My server machine:
OS: Windows 2012 server IIS version: 8

Please share your suggestions

like image 603
Praveen Avatar asked Oct 11 '13 06:10

Praveen


3 Answers

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:

  1. Open IIS Manager
  2. Click on your website
  3. Click on the "SSL Settings" in the "IIS" section
  4. Uncheck "Require SSL"

Option 2. Associate a certificate to your site:

Have a look here

like image 151
TheDaveJay Avatar answered Nov 01 '22 01:11

TheDaveJay


Remove "require SSL" from the site using the following instructions:

  1. Open IIS Manager
  2. Click on your website
  3. Click on the "SSL Settings" icon
  4. Uncheck "Require SSL"
like image 37
Rocky Ali Avatar answered Nov 01 '22 01:11

Rocky Ali


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.

like image 1
Hiren Parghi Avatar answered Nov 01 '22 00:11

Hiren Parghi