IIS 6.0 https not working "connection was reset"

Posted by cad on Server Fault See other posts from Server Fault or by cad
Published on 2010-07-27T19:08:49Z Indexed on 2012/07/08 9:17 UTC
Read the original article Hit count: 167

Filed under:
|
|

Application Server Windows Server 2003 SP2 with IIS 6.0

IIS has a "Default Web Site" (port 18000, ssl 443, ID=1) with a certificate created by me. I have an specific site called "scj.galaxy.Weekly" (port 80, ssl 443, ID=1272369728) that is working fine. I have an entry in windows/system32/drivers/etc/hosts that links galaxy.Weekly.scjdev.ds to the server ip in both my local machine and in the application Server.

These sites works:

http://scj.galaxy.weekly/test.html works

http://scj.galaxy.weekly/test.aspx works

But

https://scj.galaxy.weekly/test.html fails

Error message is:

The connection was reset The connection to the server was reset while the page was loading.

The certificate was working fine for months. It was created with something similar to this:

Selfssl /N:CN=*.scjdev.ds /V:3650 /S:1 /P:443

I have tried several options and none of them are working:

  • 1) Create a certificate only in "Default Web Site" and link it to SecureBindings with command prompt

cscript adsutil.vbs set /w3svc/1272369728/SecureBindings ":443:galaxy.Weekly.scjdev.ds"

  • 2) Create a certificate only in "Galaxy Site" and link it to SecureBindings

  • 3) Create a certificate in both and link them to secureBindings.

Probably I am missing an step or something, but I can't see it.

Here is the relevant config of Galaxy Site:

<IIsWebServer   Location ="/LM/W3SVC/1272369729"
        AuthFlags="0"
        LogPluginClsid="{FF160663-DE82-11CF-BC0A-00AA006111E0}"
        SSLCertHash="c36a514a0be90fbc121d9c19bb052842289d5aee"
        SSLStoreName="MY"
        SecureBindings=":443:galaxy.Weekly.scjdev.ds"
        ServerAutoStart="TRUE"
        ServerBindings=":80:galaxy.Weekly.scjdev.ds"
        ServerComment="galaxy.Weekly.scjdev.ds"
    >
</IIsWebServer>

<IIsWebVirtualDir   Location ="/LM/W3SVC/1272369729/root"
        AccessFlags="AccessRead | AccessScript"
        AppFriendlyName="Default Application"
        AppIsolated="2"
        AppRoot="/LM/W3SVC/1272369729/Root"
        AuthFlags="AuthAnonymous | AuthNTLM"
        DefaultDoc="Default.aspx"
        DirBrowseFlags="EnableDirBrowsing | DirBrowseShowDate | DirBrowseShowTime | DirBrowseShowSize | DirBrowseShowExtension | DirBrowseShowLongDate"
        Path="D:\Webs\Galaxysite"
        ScriptMaps="some config... "
    >
</IIsWebVirtualDir>

© Server Fault or respective owner

Related posts about iis6

Related posts about ssl-certificate