Get available tokens
klist
Get a token for SPN
klist get http/server.domain.co.il
To enable kerberos events logging, add LogLevel = 1 to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Parameters
The event logs should appear under System Events in the event viewer
Purge all tickets for local system:
klist purge -li 0x3e7
Configure IIS to work with "Active Directory Client Certificate Authentication"
This method of authentication maps a certificate to an active directory account, for this to work, make sure to follow these steps:
- Enroll a certificate for a domain user account where the certificate is either published to the user account in AD or has the UPN set correctly.
-
Set the option in IIS:
- Ensure the application pool runs under "Local System" account and not NetworkService, LocalService or any other.
-
Setup delegation and ensure SPN with FQDN to any service such as SQL Server. E.g.:
Tags
Kerberos