Service Principal Names are used to support mutual authentication between a client application and a service. In order for the EAS service to deliver email to the device, the EAS server must be furnished with an SPN from the Active Directory (AD) server.
This step must be completed whether or not you are employing the use of a Secure Email Gateway (SEG). There are instructions at the end of this topic that direct you to the next step, SEG or no SEG.
First, you must create an SPN for the EAS server.
There are two methods to add SPNs. Both require a domain account that has access to write to the Active Directory.
- Command line prompt.
- The ADSIedit module.
From the Command Line
Setspn –A http/<internaladdress> domain/computeraccountname
- From the domain controller, open ADSI Edit.
- Open MMC and add ADSIedit snap-in, or
- Run menu and type
- Right-click ADSI Edit.
- In the Connections Settings window, select Select a well known Naming Context.
- Click the drop-down arrow and select Default naming context.
- Select Default (Domain or server that you logged in to).
Click the + box to expand the directory of folders.
In the right pane, locate the server where SPN is set, right-click it and select Properties. The Properties window for the SPN server displays.
In the Attribute Editor tab, locate and select servicePrincipalName.
Click Edit. A Multi-valued String Editor dialog box opens.
In the Value to add field, type the required SPN, select Add after each entry, and then select OK twice to close the dialog box.
Close ADSI Edit.
If you are not employing the use of a SEG, then