Creating a Service Principal Name (SPN) from the Active Directory Machine
Run the following command to create a service principal name (SPN):
>setspn -S HTTP/OAM_Server ActiveDirectoryUserID
Note:You can use the "-A" option, but "-S" checks for a duplicate SPN as shown in the following example. In the examples, JDE is the Active Directory user ID.
Run the "ktpass" command to create the SPN and associate it with the Active Directory user ID that you created.
ktpass -princ HTTP/yourdomain.com@JDELDAP.COM -mapuser ActiveDirectoryUserID -pass ###### -out C:\jde105.keytab -ptype KRB5_NT_PRINCIPAL -crypto ALL
To verify that the SPN and the Key Tab file are set up correctly, view the user information from Active Directory, as shown in the following example:
You can also use the "setspn" command to view the user information:
>setspn -L ActiveDirectoryUserID
Use the following command to remove the SPN:
>setspn -D "SPN" ActiveDirectoryUserID
After verifying the setup of the SPN and the Key Tab, copy the Key Tab file to the OAM server.