Register SPN for the service user

The SPN will be registered for the service user serving the IIS web site.

Procedure-related prerequisites

  • You need to run the commands with administrative permissions. Open PowerShell via Run as administrator.
  • You need to be logged in as a domain administrator on a domain controller.

Example values

  • SPN: webapp.int.virtinc.com
  • Service user: srv-webapp

Instruction

  • 1.
    Run the following commands:
  • copy
    # List the SPNs registered
    # for the service user
    setspn –L srv-webapp
    
    # Register the SPN for
    # the service user
    setspn –A http/webapp.int.virtinc.com `
      srv-webapp