Installing and configuring CoSign on Windows Server 2008/IIS7

The instructions on this page cover installation and configuration of the CoSign software on an IIS7 web server running on Windows Server 2008.

Installation instructions for other types can be found using the following links:

If you simply want to use CoSign functionality on a server that already has CoSign installed and configured, you should read the instructions on using CoSign.

What is CoSign

CoSign is the Web Single Sign-On operated by ISS for use on central and departmental web servers and applications. Where possible, CoSign authenticates users (i.e. proves their identity) based on their existing credentials, so that no additional password prompts are necessary. Where this is not possible, either because there are no existing credentials, or because the browser is unable to pass them securely, the user will be prompted for his or her password just once per browser session, and the password will always be sent over a secure connection.

CoSign Web applications do not need to handle users' passwords; they are simply notified of the user's identity.

CoSign has been tested with a wide variety of browsers and operating systems, and is believed to operate correctly and securely in all circumstances.

How to install iiscosign on Windows Server 2008/IIS7

Pre-requisites

Before starting your cosign installation make sure you have the following installed/setup on your server:

It is also worth checking the following particularly if you are having difficulty getting your Cosign module installation to run:

Notation

In these instructions the following notation is used:

Obtaining the Cosign Windows Module and Cosign Windows Filter

Installation of cosign on IIS7 requires the cosign module dll files for participation in a CoSign Single Sign-On environment. However, the download does not come with openssl.exe which is used to generate .csr files for requesting certificates. Consequenly, the cosign ISAPI filter download (a.k.a. IISCosign) usually used for IIS6 installations is also required.

Request a certificate for use with CoSign

Configure Cosign Module

Configuring the Test Web Site

Configuring a Web Site

Authentication Factors and Compatability Mode

If your server needs to configure specific authentication factors, you'll need to add some items to the <service> tag in "C:\Windows\System32\inetsrv\config\applicationHost.config". Note that the "factor" items must all be satisfied, the "ignoreSuffix" will be matched to any factor. For more information please view the ReadMe.txt file in the cosignmodule-[version] directory.

<cosign>
    <service name="cosign-domainname" />
        <add factor="rsatoken" />
        <add ignoreSuffix="-magic" /> <!-- optional ignore suffix -->
    </service>
</cosign>

NOTE: Running an application pool in "classic mode" may result in the server variables not being available to ASP scripts. There is a compatibilityMode option to correct this in the cosign section of the "C:\Windows\System32\inetsrv\config\applicationHost.config" config file.

<cosign>
    ...
    <compatibilityMode mode="true" />
</cosign>

Help!

All of the information for these instructions was taken from the ReadMe.txt files in both the Cosign Module and Cosign Filter directories. For further information and help please read these files and use the URLs suggested at the end of each.