In order to authenticate the user’s device that is assigned to a particular certificate, Internet Information Services (IIS) must be configured to accept that certificate. For the configurations shown in this documentation, IIS can only be configured on either a SEG or EAS server. Where IIS resides is dependent on the configuration as follows.
- If the configuration is TMG to EAS then you can configure IIS on the EAS server.
- If the configuration is TMG to SEG to EAS then you can configure IIS on the SEG server.
This section discusses configuring IIS on the EAS server. If a SEG is included in your configuration, skip this step and
First, you must enable Active Directory client certificate authentication in IIS.
- On the EAS server, launch Internet Information Services (IIS) by selecting Start > Run. In the dialog box type
inetmgrand select OK. The IIS Manager window appears.
- In the left-hand Connections pane, select the EAS server.
In the main pane, under the IIS section, double-click the Authentication icon.
Select Active Directory Client Certificate Authentication.
In the right-hand pane, select Enable.
Once the above step is complete, restart the IIS Admin service from the Services console.
Next, you must enable the client certificate in the Exchange Management Console.
- In the Exchange Management Console, expand Server Configuration and then select the Client Access Server that you want to configure.
- On the Exchange ActiveSync tab, right-click the Microsoft-Server-ActiveSync directory and choose Properties.
On the Authentication tab, clear the Basic authentication (password is sent in clear text) checkbox and select the option Require client certificates.
Next, you must enable client certificate mapping authentication.
- Click the + sign to expand the Sites folder.
- Click the + sign to expand the Default Web Site and display the email sever you want to configure.
If you are using MS Server 2008 R2 or later, the Configuration Editor icon appears as shown in the screen below. This icon does not appear in older versions of MS Server. Select Microsoft-Server-ActiveSync and double-click the Configuration Editor icon. Skip step b & c, and go to step 3.
If you are using Exchange ActiveSync (EAS) servers older than 2008 R2, you need to be familiar with the use of appcmd.exe and run it from the command prompt.
Open a command prompt by selecting Start > Run. In the dialog box type
cmdand select OK. In the command prompt, type the following command.
appcmd.exe set config Microsoft-Server-ActiveSync -section:system.webServer/security/authentication/clientCertificateMappingAuthentication /enabled:True /commit:apphost
- In the Section drop-down, navigate to system.webserver/security/authentication.
On the Enabled option, select True from the drop-down box.
In the right-hand pane, select Apply.
If only certificate authentication is being used then you must configure Secure Socket Layer (SSL). Otherwise, if authentication other than certificates is used then you do not need to configure SSL.
Select Microsoft-Server-ActiveSync, and then double-click the SSL Settings icon.
If only certificate authentication is allowed, then select Require SSL and select Required. If other types of authentication are allowed, select Accept.
In the right-hand pane, select Apply.
Next, you must adjust the uploadReadAheadSize memory size. Since certificate based authentication uses a larger amount of data during the authentication process, some adjustments must be made in IIS configuration to account for the increased amount of data. This is accomplished by increasing the value of the uploadReadAheadSize. The following steps guide you through the configuration.
- Open a command prompt by selecting Start > Run.
cmdand select OK. A text editor window appears.
Increase the value of the uploadReadAheadSize from the default of 48KB to 10MB by entering the following commands:
C:\Windows\System32\inetsrv\appcmd.exe set config -section:system.webServer/serverRuntime /uploadReadAheadSize:10485760 /commit:apphost
C:\Windows\System32\inetsrv\appcmd.exe set config Default Web Site -section:system.webServer/serverRuntime /uploadReadAheadSize:10485760 /commit:apphost
The Default Web Site is used. If the name of the site has been changed in IIS then the new name needs to replace Default Web Site in the second command.
Type the following command to reset the IIS.