I have seen a bunch of articles and blog posts about how to register an SPN to get Kerberos to work for IIS web sites and WCF services (hosted in IIS or self-hosted). I have noticed that many of them are inacurate when describing the service classes and mixes up HOST and HTTP.
Here’s my take on the difference and which one to use when Kerberos is used together with load balancing (NLB, Citrix NetScaler, F5 BigIP etc):
Load balancing IIS where IE is the client
Load balancing WCF services (hosted in IIS or “self-hosted”) on an application server and using WCF on the client side WCF’s app.config file on the client side contains the expected identity of the server (i.e. servicePrincipalName=”HOST/VIP-FQDN”, servicePrincipalName=”HTTP/VIP-FQDN” or even servicePrincipalName=”DonaldDuck/VIP-FQDN”). Whatever the client specifies as the expected SPN, must be registered on the domain (using the SetSpn tool) for the account that runs the service (application pool identity when hosted in IIS and service account when hosted in a Windows Service).
Remember Me
© Copyright 2010 Michel Baladi