Link to home
Start Free TrialLog in
Avatar of Victor Esselman
Victor EsselmanFlag for Netherlands

asked on

error 403 forbidden access is denied iis 6.1

I installed a new comodo certificate on IIS6.1 and get an error (hresult-0x80070005-e_accessdenied)
and follow some instructions https://support.comodo.com/index.php?/Knowledgebase/Article/View/1129/37/access-denied-exception-from-hresult-0x80070005-e_accessdenied

The cert is good installed on www.beachvolleybalutrecht.nl
when I set SSL to enabled and require I get error 403 forbidden access is denied iis 6.1

Probably I need to do something else for proper working, I can't find clear instructions how to fix it.

I hope someone can help me whit this.


Many tanks

Victor
Avatar of Paul MacDonald
Paul MacDonald
Flag of United States of America image

Both the HTTP and HTTPS versions of that web site work fine for me.   Are you still having the problem?
Avatar of Victor Esselman

ASKER

Hi Paul,

yes, but for the moment I switches SSL require off otherwise the website is down.
I can switch it on for a short period if you want.

Victor
When you say "require SSL", you don't mean "require client certificates", do you?  There's nothing in your post that references what web server software you're using, but I've inferred it IIS.

If you want to force HTTP connections to HTTPS connections, you should look into URL Rewriting.
Oh sorry, it is mentioned in the question ;-)

iis version 6.1

in IIS on the website there is an SSL icon where you can enable SSL and some options, ignore, accept and required.
There I disable it for the moment.


victor
that means that the client requires a certificate to connect via ssl.. not make the site use ssl
put this in your web.config webserver sectiion
 <rewrite>
      <rules>
        <rule name="Require HTTPS" stopProcessing="true">
          <match url="(.*)" />
          <conditions>
            <add input="{HTTPS}" pattern="^OFF$" />
          </conditions>
          <action type="Redirect" url="https://{HTTP_HOST}/{R:0}" redirectType="SeeOther" />
        </rule>
      </rules>
    </rewrite>

Open in new window


for example
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
	 <rewrite>
      <rules>
        <rule name="Require HTTPS" stopProcessing="true">
          <match url="(.*)" />
          <conditions>
            <add input="{HTTPS}" pattern="^OFF$" />
          </conditions>
          <action type="Redirect" url="https://{HTTP_HOST}/{R:0}" redirectType="SeeOther" />
        </rule>
      </rules>
    </rewrite>
        <defaultDocument>
            <files>
                <add value="phpinfo.php" />
            </files>
        </defaultDocument>
    </system.webServer>
</configuration>

Open in new window

This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.