Introduction:
The v6SP6 and R12 SP2 CR-01 Web Agents for IIS are currently supported on a Windows 2008 R2 system with IIS7.5 installed, however due to an issue with the Web Agent Configuration Wizard for these releases; manual configuration steps are required to configure the SiteMinder Web Agent with IIS7.5. The Web Agent Configuration Wizard issue is scheduled to be addressed in upcoming releases.
This is an informal guide to assist in the integration of the SiteMinder Web Agent with IIS 7.5 (on Windows 2008 R2). This guide is meant for people with familiarity with both Windows and SiteMinder. It assumes that the necessary objects are created in Policy Store for the Web Agent prior to installation of the Web Agent (Agent Identity, ACO, HCO, etc..).
Manual Installation and Configuration Steps:
- Run the Install Wizard;
Select appropriate information as prompted.
Do not configure the web agent.
Reboot at the end (the installer can do this for you).
- Add Roles;
Start -> Administrative Tools -> Server Manager
Roles Summary -> Add Roles
In the Roles Wizard:
Click next, and select Web Server (IIS).
Click Next.
Click Next.
In Application Development, select "asp.net" (approve dependencies) and "cgi"
(NOTE: please ensure that these four check-boxes are selected; asp.net, isapi filters, isapi extensions, and CGI)
Click next.
Click the "Install" button.
Close the Roles Wizard.
- Run the Web Agent Configuration Wizard and follow the prompts;
Start -> All Programs -> CA -> SiteMinder -> SiteMinder Configuration Wizard
(NOTE: This will register the Trusted Host and configure the WebAgent.conf, but will not properly configure the Agent in IIS7.5, requiring these further manual steps.)
- From a Command Prompt;
- Navigate to the "c:\windows\system32\inetsrv" directory.
- Run the 'appcmd' command as follows, modifying the path to the ISAPI6WebAgent.dll as required based on your installation path;
appcmd set config /section:isapiFilters /+[name='IIS75Filter'
,path='"C:\program files\ca\webagent\bin\ISAPI6WebAgent.dll"',enabled='true']
Please take note the use of both the single and double quotes, as shown below to "quote" the path to the ISAPI6WebAgent.dll;
<Please see attached file for image>
- Open IIS Manager and expand the 'Hostname>Sites' and select the "Default Web Site";
<Please see attached file for image>
- In the center frame for the "Default Web Site" click on "Handler Mappings" to display the following configuration screen.
<Please see attached file for image>
- Set Permissions for ISAPI DLL;
- Select "ISAPI-dll"
- Select "Edit Feature Permissions..." from the "Actions" frame on the right.
- Select all three options (read, script, and execute) and click 'OK'.
- Add the "Wildcard Script Map";
- Select "Add Wildcard Script Map..." from the "Actions" frame on the right.
- Set the "Executable:" field to the location of the ISAPI6WebAgent.dll and provide a "Name" for the mapping.
(Note: In an IIS7.0 configuration, the Web Agent Configuration Wizard will enter this value as "handler-wa". You may wish to select a different name during this manual configuration as shown above)
- Click "OK" and click "Yes" when prompted to save and enable the mapping.
<Please see attached file for image>
- Verify that the "IIS75Filter" exists.
- In the "Connections" frame on the left, again select "Default Web Site".
- In the center frame for the "Default Web Site" click on "ISAPI Filters".
- On the "ISAPI Filters" screen, verify "IIS75Filter" exists
(This should have been created in step 4)
If present skip to step 10, if not present continue with "d" below.
- Click on "Add..." from the "Actions" frame on the right.
- Enter "IIS75Filter" as the "Filter name:".
- Enter the path to the ISAPI6WebAgent.dll in the "Executable:" field.
- Click "OK".
- Set appropriate permissions for the Web Agents "\config" directory.
- Open "Windows Explorer" and navigate to the Web Agent's "\config" directory.
- Right click and select "properties".
- From the "Security" Tab;
- Click "Add..".
- Add the "IIS AppPool\DefaultAppPool" as shown below.
- Click "OK".
- Add "Write" permissions for the added user.
- Click "OK" 2 more times to close the Properties dialog.
<Please see attached file for image>
- Set appropriate permissions for the Web Agents "\log" directory.
- Open "Windows Explorer" and navigate to the Web Agent's "\log" directory.
- Right click and select "properties".
- From the "Security" Tab;
- Click "Add..".
- Add the "IIS AppPool\DefaultAppPool" as shown below.
- Click "OK".
- Add "Write" permissions for the added user.
- Add the "siteminderagent" Virtual Directory
- Go to "content view" on the bottom of the IIS Manager
- Select "Add Virtual Directory" on the right hand side
- Name the Virtual Directory "siteminderagent" and make the path the path to your "samples" directory. The Picture here shows default R12 directory
<Please see attached file for image>
- Adjust WebAgent.conf ;
- Navigate to the Web Agents installation directory;
For example "C:\Program Files\CA\WebAgent\bin\iis\"
- Open "WebAgent.conf" and change "EnableWebAgent="NO"" to "EnableWebAgent="YES"".
At this point your SiteMinder Web Agent is installed, configured and enabled. The next time you restart IIS 7.5 it will start protecting the default web site. Handler Mappings may need to be added to other web sites in order to have them protected. Please note that the most simplistic way to restart IIS is to use the "iisreset" command at your Command Prompt. This will also reset all those services dependent upon IIS automatically.