Following the application of Microsoft security patches that disable RC4 encryption on Active Directory Domain Controllers (DC), administrators need to determine if additional configuration changes or commands are required on vSphere/ESXi clients to maintain authentication stability.
By default, recent versions of ESXi include Advanced Encryption Standard (AES) in their Kerberos configuration.
This can be verified by inspecting the krb5.conf file on the ESXi host by running the command:
# cat /etc/krb5.conf
[libdefaults]
default_tgs_enctypes = AES256-CTS AES128-CTS RC4-HMAC
default_tkt_enctypes = AES256-CTS AES128-CTS RC4-HMAC
preferred_enctypes = AES256-CTS AES128-CTS RC4-HMAC
allow_weak_crypto = true
No changes are required on the ESXi host itself. The resolution lies within the Active Directory environment.
Testing Scenarios & Outcomes
| Scenario | Configuration | Outcome |
| 1 | No changes to AD or ESXi (RC4 Enabled). | Success: Domain join/leave and AD logins work as expected. |
| 2 | RC4 disabled on DC; No changes to Client AD Object. | Failure: Domain join works, but AD user login fails. The DC is uncertain if the client supports AES. |
| 3 | RC4 disabled on DC; AES enabled on the Client AD Object. | Success: Domain join and AD logins work. The DC confirms the client supports AES and uses it. |
Note: Scenario 3 is the expected outcome once the Microsoft patch is applied to disable the RC4 and AES is enabled on the AD end. As AES is available by default on ESXi and vCenter, no change is required to these components.