{"id":5537,"date":"2026-11-28T11:11:37","date_gmt":"2026-11-28T11:11:37","guid":{"rendered":"https:\/\/geekmungus.co.uk\/?p=5537"},"modified":"2026-11-28T11:12:01","modified_gmt":"2026-11-28T11:12:01","slug":"the-kerberos-key-distribution-center-kdc-for-the-domain-your_domain-does-not-have-a-certificate-installed-or-does-not-support-logon-using-certificates-0xc0000320","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=5537","title":{"rendered":"The Kerberos Key Distribution Center (KDC) for the domain &lt;YOUR_DOMAIN> does not have a certificate installed or does not support logon using certificates: 0xC0000320"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">We had a problem on Windows 11 client machines which are Entra cloud joined where a user can log on with their PIN, but they are not able to access any on-premise network shares or printers without being prompted with the following message saying: &#8220;Windows needs your current credentials Please lock this computer, then unlock it using your most recent password or smart card&#8221;.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Problem<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Windows 11 client machines which are Entra cloud joined where a user can log on with their PIN, but they are not able to access any on-premise network shares or printers without being prompted with the following message saying: &#8220;Windows needs your current credentials Please lock this computer, then unlock it using your most recent password or smart card&#8221;.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"313\" height=\"148\" src=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-7.png\" alt=\"\" class=\"wp-image-5540\" srcset=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-7.png 313w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-7-300x142.png 300w\" sizes=\"auto, (max-width: 313px) 100vw, 313px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If the user locks their machine, then selects to authenticate with their password they are then able to access the on-premise network shares or printers with no problems. However, sometimes after a period of time (e.g. hours) and\/or moving to a different network (i.e. swapping from wired to wireless) and\/or after a reboot, this login reminder will re-appear; in effect the user has to keep on re-entering their password each day\/session.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Symptoms<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">The issue is manifesting on the Windows 11 client side, the following logs were enabled (by right-clicking &#8211; enable) and then observed on the Windows 11 client side to determine what was going on:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Event Viewer \u2192 Applications and Services Logs \u2192 Microsoft \u2192 Windows \u2192 HelloForBusiness \u2192 Operational<\/strong><\/li>\n\n\n\n<li><strong>Event Viewer \u2192 Application and Services Logs \u2192 Microsoft \u2192 Windows \u2192 Security-Kerberos \u2192 Operational<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">When accessing the share, the following Warnings and Critical errors appeared.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"433\" src=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-8-1024x433.png\" alt=\"\" class=\"wp-image-5541\" srcset=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-8-1024x433.png 1024w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-8-300x127.png 300w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-8-766x324.png 766w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-8-1536x649.png 1536w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-8.png 1651w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>Log Name:      Microsoft-Windows-Kerberos\/Operational\nSource:        Microsoft-Windows-Security-Kerberos\nDate:          24\/11\/2026 15:17:40\nEvent ID:      104\nTask Category: None\nLevel:         Error\nKeywords:      \nUser:          SYSTEM\nComputer:      COMPUTER_NAME\nDescription:\nThe Kerberos Key Distribution Center (KDC) for the domain &lt;YOURDOMAIN> does not have a certificate installed or does not support logon using certificates: 0xC0000320\nEvent Xml:\n&lt;Event xmlns=\"http:\/\/schemas.microsoft.com\/win\/2004\/08\/events\/event\">\n  &lt;System>\n    &lt;Provider Name=\"Microsoft-Windows-Security-Kerberos\" Guid=\"{98e6cfcb-ee0a-41e0-a57b-622d4e1b30b1}\" \/>\n    &lt;EventID>104&lt;\/EventID>\n    &lt;Version>0&lt;\/Version>\n    &lt;Level>2&lt;\/Level>\n    &lt;Task>0&lt;\/Task>\n    &lt;Opcode>0&lt;\/Opcode>\n    &lt;Keywords>0x8000000000000000&lt;\/Keywords>\n    &lt;TimeCreated SystemTime=\"2026-11-24T15:17:40.8505025Z\" \/>\n    &lt;EventRecordID>1&lt;\/EventRecordID>\n    &lt;Correlation ActivityID=\"{5427b98e-7c0b-0005-a767-2e540b7cdd01}\" \/>\n    &lt;Execution ProcessID=\"1564\" ThreadID=\"1624\" \/>\n    &lt;Channel>Microsoft-Windows-Kerberos\/Operational&lt;\/Channel>\n    &lt;Computer>COMPUTER_NAME&lt;\/Computer>\n    &lt;Security UserID=\"S-1-5-18\" \/>\n  &lt;\/System>\n  &lt;EventData>\n    &lt;Data Name=\"TargetDomain\">&lt;YOURDOMAIN>&lt;\/Data>\n    &lt;Data Name=\"ErrorCode\">3221226272&lt;\/Data>\n  &lt;\/EventData>\n&lt;\/Event><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Log Name:      Microsoft-Windows-Kerberos\/Operational\nSource:        Microsoft-Windows-Security-Kerberos\nDate:          24\/11\/2026 15:17:40\nEvent ID:      201\nTask Category: None\nLevel:         Warning\nKeywords:      \nUser:          SYSTEM\nComputer:      COMPUTERNAME\nDescription:\nAttempt to use Kerberos unconstrained delegation failed.\n\nTarget server: cifs\/SERVERNAMEUWhRGBAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAASERVERNAMEwBAAAA\nSupplied user: NULL\nSupplied domain: NULL\nPID of client process: 4\nName of client process: \nLUID of client process: 0x3E7\nUser identity of client process: COMPUTERNAME$\nDomain name of user identity of client process: WORKGROUP\nMechanism OID: 1.2.840.48018.1.2.2\n\nKerberos unconstrained delegation is not allowed for this user. For more information, see https:\/\/go.microsoft.com\/fwlink\/?linkid=856824.\nEvent Xml:\n&lt;Event xmlns=\"http:\/\/schemas.microsoft.com\/win\/2004\/08\/events\/event\">\n  &lt;System>\n    &lt;Provider Name=\"Microsoft-Windows-Security-Kerberos\" Guid=\"{98e6cfcb-ee0a-41e0-a57b-622d4e1b30b1}\" \/>\n    &lt;EventID>201&lt;\/EventID>\n    &lt;Version>0&lt;\/Version>\n    &lt;Level>3&lt;\/Level>\n    &lt;Task>0&lt;\/Task>\n    &lt;Opcode>0&lt;\/Opcode>\n    &lt;Keywords>0x8000000000000000&lt;\/Keywords>\n    &lt;TimeCreated SystemTime=\"2026-11-24T15:17:40.8512724Z\" \/>\n    &lt;EventRecordID>2&lt;\/EventRecordID>\n    &lt;Correlation ActivityID=\"{5427b98e-7c0b-000b-7dc0-27540b7cdd01}\" \/>\n    &lt;Execution ProcessID=\"1564\" ThreadID=\"1624\" \/>\n    &lt;Channel>Microsoft-Windows-Kerberos\/Operational&lt;\/Channel>\n    &lt;Computer>COMPUTERNAME&lt;\/Computer>\n    &lt;Security UserID=\"S-1-5-18\" \/>\n  &lt;\/System>\n  &lt;EventData>\n    &lt;Data Name=\"TargetName\">cifs\/SERVERNAMEUWhRGBAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAASERVERNAMEwBAAAA&lt;\/Data>\n    &lt;Data Name=\"UserName\">NULL&lt;\/Data>\n    &lt;Data Name=\"DomainName\">NULL&lt;\/Data>\n    &lt;Data Name=\"CallerPID\">4&lt;\/Data>\n    &lt;Data Name=\"ProcessName\">\n    &lt;\/Data>\n    &lt;Data Name=\"ClientLUID\">0x3e7&lt;\/Data>\n    &lt;Data Name=\"ClientUserName\">COMPUTERNAME$&lt;\/Data>\n    &lt;Data Name=\"ClientDomainName\">WORKGROUP&lt;\/Data>\n    &lt;Data Name=\"MechanismOID\">1.2.840.48018.1.2.2&lt;\/Data>\n  &lt;\/EventData>\n&lt;\/Event><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Log Name:      System\nSource:        LsaSrv\nDate:          24\/11\/2026 15:10:16\nEvent ID:      40960\nTask Category: None\nLevel:         Warning\nKeywords:      \nUser:          SYSTEM\nComputer:      COMPUTERNAME\nDescription:\nThe Security System detected an authentication error for the server cifs\/SERVERNAME. The failure code from authentication protocol Kerberos was \"The request is not supported.\n (0xc00000bb)\".\nEvent Xml:\n&lt;Event xmlns=\"http:\/\/schemas.microsoft.com\/win\/2004\/08\/events\/event\">\n  &lt;System>\n    &lt;Provider Name=\"LsaSrv\" Guid=\"{199fe037-2b82-40a9-82ac-e1d46c792b99}\" \/>\n    &lt;EventID>40960&lt;\/EventID>\n    &lt;Version>0&lt;\/Version>\n    &lt;Level>3&lt;\/Level>\n    &lt;Task>0&lt;\/Task>\n    &lt;Opcode>0&lt;\/Opcode>\n    &lt;Keywords>0x8000000000000000&lt;\/Keywords>\n    &lt;TimeCreated SystemTime=\"2026-11-24T15:10:16.0831707Z\" \/>\n    &lt;EventRecordID>36253&lt;\/EventRecordID>\n    &lt;Correlation ActivityID=\"{5427b98e-7c0b-000b-7dc0-27540b7cdd01}\" \/>\n    &lt;Execution ProcessID=\"1564\" ThreadID=\"25308\" \/>\n    &lt;Channel>System&lt;\/Channel>\n    &lt;Computer>COMPUTERNAME&lt;\/Computer>\n    &lt;Security UserID=\"S-1-5-18\" \/>\n  &lt;\/System>\n  &lt;EventData>\n    &lt;Data Name=\"Target\">cifs\/SERVERNAME&lt;\/Data>\n    &lt;Data Name=\"Protocol\">Kerberos&lt;\/Data>\n    &lt;Data Name=\"Error\">\"The request is not supported.\n (0xc00000bb)\"&lt;\/Data>\n  &lt;\/EventData>\n&lt;\/Event><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It is this error message however which is the most relevant:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>The Kerberos Key Distribution Center (KDC) for the domain YOUR_DOMAINNAME does not have a certificate installed or does not support logon using certificates: 0xC0000320<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">What this means is that the Key Distribution Center (KDC) that is running on the Active Directory Domain Controllers does not have a certificate installed, or that certificate is not valid (i.e. incorrect name, expired) or the certificate does not have the required attributes to support the KDC &#8220;Authentication&#8221;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In our case the domain controllers had just been recently replaced (upgrading from Windows 2016 to 2022), and so it appeared there was something wrong with the certificates that were used.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Basic Verification Checks<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">When using an Entra Cloud Joined workstation, you must have direct network line of sight to the domain controllers from the client for the authentication mechanism to work. This can be direct on-campus network access, or it can be connectivity via a VPN, as long as the client can reach the domain controller on the required ports to get a ticket you are good on this front.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Remember that an Entra Cloud Joined workstation is not &#8220;joined&#8221; to the on-premise domain, it instead is authenticated by Entra ID and is issued a partial TGT from Entra which it then presents to the on-premise Domain Controllers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We&#8217;ll carry on with some basic connectivity and authentication checks, however.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Domain Controller Connectivity Check<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Check you have direct line of sight connections to the Domain Controllers and of course your client machine can discover these Domain Controllers from DNS. Without this all hope is lost of obtaining a TGT from the on-premise Domain Controllers which is needed (along with a TGS) to access on-premise resources.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup yourdomain.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ensure you have some DNS servers shown and they can be contacted from your client.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup -type=srv _ldap._tcp.dc._msdcs.yourdomain.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ensure you are getting SRV records for your Domain Controllers.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup -type=srv _kerberos._tcp.yourdomain.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Again, ensure you are getting the Domain Controllers listed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then do an NLTEST, and esnure you are getting back a Domain Controller, and it reports success.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nltest \/dsgetdc:yourdomain.com\n           DC: \\\\DC3.yourdomain.com\n      Address: \\\\192.168.10.10\n     Dom Guid: df7476da-e131-48f4-b7d0-b4ea674266c0\n     Dom Name: internal.sanger.ac.uk\n  Forest Name: internal.sanger.ac.uk\n Dc Site Name: WTGC\nOur Site Name: WTGC\n        Flags: GC DS LDAP KDC TIMESERV WRITABLE DNS_DC DNS_DOMAIN DNS_FOREST CLOSE_SITE FULL_SECRET WS DS_8 DS_9 DS_10 KEYLIST\nThe command completed successfully<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">DSREGCMD<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now a cheeky dsregcmd is in order to check the Directory Join status of this client machine.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dsregcmd \/status<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Example output:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>+----------------------------------------------------------------------+\n| Device State                                                         |\n+----------------------------------------------------------------------+\n\n             AzureAdJoined : YES\n          EnterpriseJoined : NO\n              DomainJoined : NO\n           Virtual Desktop : NOT SET\n               Device Name : YOURCOMPUTER\n\n+----------------------------------------------------------------------+\n| Device Details                                                       |\n+----------------------------------------------------------------------+\n\n                  DeviceId : 757b11b8-a8e4-4cc0-a0e1-xxxxxxxxxxx\n                Thumbprint : 538E19747560A4A84C8D56928917D23D15708EEA\n DeviceCertificateValidity : &#91; 2026-03-05 13:35:24.000 UTC -- 2036-03-05 14:05:24.000 UTC ]\n            KeyContainerId : 297577b0-6019-4a40-b705-3xxxxxxxxxx\n               KeyProvider : Microsoft Platform Crypto Provider\n              TpmProtected : YES\n          DeviceAuthStatus : SUCCESS\n\n+----------------------------------------------------------------------+\n| Tenant Details                                                       |\n+----------------------------------------------------------------------+\n\n                TenantName : YOURTENANTNAME\n                  TenantId : YOURTENANTID\n               AuthCodeUrl : https:\/\/login.microsoftonline.com\/YOURTENANTID\/oauth2\/authorize\n            AccessTokenUrl : https:\/\/login.microsoftonline.com\/YOURTENANTID\/oauth2\/token\n                    MdmUrl : https:\/\/enrollment.manage.microsoft.com\/enrollmentserver\/discovery.svc\n                 MdmTouUrl : https:\/\/portal.manage.microsoft.com\/TermsofUse.aspx\n          MdmComplianceUrl : https:\/\/portal.manage.microsoft.com\/?portalAction=Compliance\n               SettingsUrl :\n            JoinSrvVersion : 2.0\n                JoinSrvUrl : https:\/\/enterpriseregistration.windows.net\/EnrollmentServer\/device\/\n                 JoinSrvId : urn:ms-drs:enterpriseregistration.windows.net\n             KeySrvVersion : 1.0\n                 KeySrvUrl : https:\/\/enterpriseregistration.windows.net\/EnrollmentServer\/key\/\n                  KeySrvId : urn:ms-drs:enterpriseregistration.windows.net\n        WebAuthNSrvVersion : 1.0\n            WebAuthNSrvUrl : https:\/\/enterpriseregistration.windows.net\/webauthn\/YOURTENANTID\/\n             WebAuthNSrvId : urn:ms-drs:enterpriseregistration.windows.net\n    DeviceManagementSrvVer : 1.0\n    DeviceManagementSrvUrl : https:\/\/enterpriseregistration.windows.net\/manage\/YOURTENANTID\/\n     DeviceManagementSrvId : urn:ms-drs:enterpriseregistration.windows.net\n                   KerbSpn : adrs\/enterpriseregistration.windows.net\n                   KerbUrl : https:\/\/login.microsoftonline.com\/YOURTENANTID\/kerberos\n     JoinResourceSrvTlsUrl : https:\/\/certauth.enterpriseregistration.windows.net\/EnrollmentServer\/device\/resource\/YOURTENANTID\/\n\n+----------------------------------------------------------------------+\n| User State                                                           |\n+----------------------------------------------------------------------+\n\n                    NgcSet : YES\n                  NgcKeyId : {SOMEIDFORSOMETHING}\n                  CanReset : DestructiveOnly\n           WorkplaceJoined : NO\n             WamDefaultSet : YES\n       WamDefaultAuthority : organizations\n              WamDefaultId : https:\/\/login.microsoft.com\n            WamDefaultGUID : {SOMEOTHERGUIDID} (AzureAd)\n\n+----------------------------------------------------------------------+\n| SSO State                                                            |\n+----------------------------------------------------------------------+\n\n                AzureAdPrt : YES\n      AzureAdPrtUpdateTime : 2026-11-24 09:11:14.000 UTC\n      AzureAdPrtExpiryTime : 2026-12-08 09:11:21.000 UTC\n       AzureAdPrtAuthority : https:\/\/login.microsoftonline.com\/YOURTENANTID\n             EnterprisePrt : NO\n    EnterprisePrtAuthority :\n                 OnPremTgt : YES\n                  CloudTgt : YES\n         KerbTopLevelNames : .windows.net,.windows.net:1433,.windows.net:3342,.azure.net,.azure.net:1433,.azure.net:3342\n\n+----------------------------------------------------------------------+\n| Diagnostic Data                                                      |\n+----------------------------------------------------------------------+\n\n        AadRecoveryEnabled : NO\n    Executing Account Name : DOMAIN\\bob, bob@yourdomain.com\n               KeySignTest : PASSED\n\n        DisplayNameUpdated : Managed by MDM\n          OsVersionUpdated : Managed by MDM\n           HostNameUpdated : YES\n\n      Last HostName Update : NONE\n\n+----------------------------------------------------------------------+\n| IE Proxy Config for Current User                                     |\n+----------------------------------------------------------------------+\n\n      Auto Detect Settings : YES\n    Auto-Configuration URL :\n         Proxy Server List :\n         Proxy Bypass List :\n\n+----------------------------------------------------------------------+\n| WinHttp Default Proxy Config                                         |\n+----------------------------------------------------------------------+\n\n               Access Type : DIRECT\n\nFor more information, please visit https:\/\/www.microsoft.com\/aadjerrors<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Confirm it is successfully accessing Entra ID.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Klist cloud_debug<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use the following to troubleshoot the Kerberos Cloud connection.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>klist cloud_debug<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You should get a result something like:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Current LogonId is 0:0x2448d3\nCloud Kerberos Debug info:\nCloud Kerberos enabled by policy: 1\nAS_REP callback received: 1\nAS_REP callback used: 1\nCloud Referral TGT present in cache: 1\nSPN oracle configured: 1\nKDC proxy present in cache: 1\nPublic Key Credential Present: 1\nPassword-derived Keys Present: 0\nPlaintext Password Present: 0\nAS_REP Credential Type: 2\nCloud Primary (Hybrid logon) TGT available: 1<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Klist<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Good old Klist, if all is well, you should see at least two tickets, the TGT tickets, one from the on-premise Active Directory (top) and one from Entra ID (bottom). If you can see other tickets, these will be the TGS tickets for access particular on-premise services like file servers.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>C:\\Users\\me>klist\nCurrent LogonId is 0:0x2448d3\nCached Tickets: (3)\n#0>     Client: bob @ YOURDOMAIN.COM\n        Server: krbtgt\/YOURDOMAIN.COM @ YOURDOMAIN.COM\n        KerbTicket Encryption Type: AES-256-CTS-HMAC-SHA1-96\n        Ticket Flags 0x40e10000 -> forwardable renewable initial pre_authent name_canonicalize\n        Start Time: 11\/24\/2026 9:36:17 (local)\n        End Time:   11\/24\/2026 19:36:17 (local)\n        Renew Time: 12\/1\/2026 9:36:17 (local)\n        Session Key Type: AES-256-CTS-HMAC-SHA1-96\n        Cache Flags: 0x1 -> PRIMARY\n        Kdc Called: dc1.yourdomain.com\n\n#1>     Client: bob @ YOURDOMAIN.COM\n        Server: krbtgt\/KERBEROS.MICROSOFTONLINE.COM @ KERBEROS.MICROSOFTONLINE.COM\n        KerbTicket Encryption Type: Unknown (-1)\n        Ticket Flags 0x40810000 -> forwardable renewable name_canonicalize\n        Start Time: 11\/24\/2026 9:36:14 (local)\n        End Time:   11\/24\/2026 19:36:14 (local)\n        Renew Time: 12\/1\/2026 9:36:14 (local)\n        Session Key Type: AES-256-CTS-HMAC-SHA1-96\n        Cache Flags: 0x400 -> 0x400\n        Kdc Called: TicketSuppliedAtLogon<\/code><\/pre>\n\n\n\n<h1 class=\"wp-block-heading\">Preliminary Conclusion<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">So the preliminary conclusion was reached that something is wrong with the certificate on the (new) Domain Controllers which means that it is not operating correctly because either the certificate is missing or is somehow unsuitable (i.e. missing attributes, invalid, expired or missing a CA chain etc.) The following message on the Windows 11 client appears to point to this being the issue.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>The Kerberos Key Distribution Center (KDC) for the domain YOURDOMAIN.COM does not have a certificate installed or does not support logon using certificates: 0xC0000320<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">So now it appears to be a problem with the Domain Controllers, the relevant log can be enabled (by right-clicking &#8211; enabled) on the Domain Controllers within the Event Viewer at:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Event Viewer \u2192 Applications and Services Logs \u2192 Microsoft \u2192 Windows \u2192 Kerberos-Key-Distribution-Center \u2192 Operational<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Once that has been enabled, you should start to see some logs appear, however you normally need to do something to restart\/touch the KDC, you can either restart the Domain Controller or just restart the Active Directory Domain Services service within the Services&#8217; management snap-in.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"165\" src=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-9-1024x165.png\" alt=\"\" class=\"wp-image-5542\" srcset=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-9-1024x165.png 1024w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-9-300x48.png 300w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-9-763x123.png 763w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-9.png 1036w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once this is done the KDC will start logging, and at that point we saw the following message that does indeed confirm something is up with our certificate on the Domain Controllers. Its saying that the KDC running on the Domain Controller (it runs on all Domain Controllers by the way), is not able to select a suitable certificate for some reason.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Log Name:      Microsoft-Windows-Kerberos-Key-Distribution-Center\/Operational\nSource:        Microsoft-Windows-Kerberos-Key-Distribution-Center\nDate:          25\/11\/2026 17:07:17\nEvent ID:      200\nTask Category: KDC\nLevel:         Warning\nKeywords:      \nUser:          SYSTEM\nComputer:      dc1.yourdomain.com\nDescription:\nThe Key Distribution Center (KDC) cannot find a suitable certificate to use. This KDC is not enabled for smart card or certificate authentication.\nEvent Xml:\n&lt;Event xmlns=\"http:\/\/schemas.microsoft.com\/win\/2004\/08\/events\/event\">\n  &lt;System>\n    &lt;Provider Name=\"Microsoft-Windows-Kerberos-Key-Distribution-Center\" Guid=\"{3fd9da1a-5a54-46c5-9a26-xxxxxxxx}\" \/>\n    &lt;EventID>200&lt;\/EventID>\n    &lt;Version>0&lt;\/Version>\n    &lt;Level>3&lt;\/Level>\n    &lt;Task>1&lt;\/Task>\n    &lt;Opcode>0&lt;\/Opcode>\n    &lt;Keywords>0x8000000000000000&lt;\/Keywords>\n    &lt;TimeCreated SystemTime=\"2026-11-25T17:07:17.0625100Z\" \/>\n    &lt;EventRecordID>4&lt;\/EventRecordID>\n    &lt;Correlation \/>\n    &lt;Execution ProcessID=\"920\" ThreadID=\"13436\" \/>\n    &lt;Channel>Microsoft-Windows-Kerberos-Key-Distribution-Center\/Operational&lt;\/Channel>\n    &lt;Computer>dc1.yourdomain.com&lt;\/Computer>\n    &lt;Security UserID=\"S-1-5-18\" \/>\n  &lt;\/System>\n  &lt;EventData>\n  &lt;\/EventData>\n&lt;\/Event><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">What is the KDC for?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">OK, so now we know there is something wrong, what is the KDC actually for in this particular scenario?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, the Key Distribution Center (KDC) is a service that runs on each domain controller, it provides Kerberos authentication for the on-premises Active Directory domain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It has two main jobs:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1. Issue a Ticket-Granting Ticket (TGT) after the user\u2019s sign-in is authenticated. The TGT is proof the user has authenticated to the domain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. Issue service tickets when the user requests access to something like a file share. The client presents that ticket to the server, which checks whether the user is allowed to access the resource. The KDC doesn\u2019t make the share\u2019s permission decision.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, in this particular Cloud Kerberos Trust scenario, Entra ID provides the client partial TGT; the client presents it to the on-premises KDC (which obviously needs a valid KDC Authentication certificate), which validates it and provides a full AD TGT for accessing on-premises resources.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Resolution<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">So now the question was why was the KDC not selecting the certificate we had installed onto the Domain Controllers?<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Issue 1 &#8211; Missing Attributes<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">As per this Microsoft Article: <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/security\/identity-protection\/hello-for-business\/deploy\/hybrid-key-trust\">https:\/\/learn.microsoft.com\/en-us\/windows\/security\/identity-protection\/hello-for-business\/deploy\/hybrid-key-trust<\/a>, to support Windows Hello, the certificates on the domain controllers must comply with the following requirements:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The <em>Certificate Revocation List (CRL) distribution point<\/em> extension must point to a valid CRL, or an <em>Authority Information Access (AIA)<\/em> extension that points to an Online Certificate Status Protocol (OCSP) responder<\/li>\n\n\n\n<li>Optionally, the certificate <em>Subject<\/em> section could contain the directory path of the server object (the distinguished name)<\/li>\n\n\n\n<li>The certificate <em>Key Usage<\/em> section must contain <em>Digital Signature<\/em> and <em>Key Encipherment<\/em><\/li>\n\n\n\n<li>Optionally, the certificate <em>Basic Constraints<\/em> section should contain: <code>[Subject Type=End Entity, Path Length Constraint=None]<\/code><\/li>\n\n\n\n<li>The certificate <em>extended key usage<\/em> section must contain Client Authentication (<code>1.3.6.1.5.5.7.3.2<\/code>), Server Authentication (<code>1.3.6.1.5.5.7.3.1<\/code>), and KDC Authentication (<code>1.3.6.1.5.2.3.5<\/code>)<\/li>\n\n\n\n<li>The certificate <em>Subject Alternative Name<\/em> section must contain the Domain Name System (DNS) name<\/li>\n\n\n\n<li>The certificate template must have an extension that has the value <code>DomainController<\/code>, encoded as a <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/win32\/seccertenroll\/about-bmpstring\">BMPstring<\/a>. If you are using Windows Server Enterprise Certificate Authority, this extension is already included in the domain controller certificate template<\/li>\n\n\n\n<li>The domain controller certificate must be installed in the local computer&#8217;s certificate store<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">In our case there were a couple of problems with the existing certificate:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Although the extended key usage section contained <strong>Client Authentication<\/strong> and <strong>Server Authentication<\/strong>, it was missing: <strong>KDC Authentication<\/strong> (<code>1.3.6.1.5.2.3.5<\/code>), which is obviously essential!<\/li>\n\n\n\n<li>The certificate was also missing an extension which has <code>DomainController<\/code>, encoded as a <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/win32\/seccertenroll\/about-bmpstring\">BMPstring<\/a>. And being this is a Third Party CA generated certificate the extension being included automatically which it is with a Windows CA didn&#8217;t apply.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Looking at the authentication flow diagram below further re-enforces the missing attribute for KDC Authentication\u00a0(<code>1.3.6.1.5.2.3.5<\/code>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And as we can see the &#8220;Intended Purposes&#8221; is missing &#8220;KDC Authentication&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"246\" src=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-10-1024x246.png\" alt=\"\" class=\"wp-image-5543\" srcset=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-10-1024x246.png 1024w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-10-300x72.png 300w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-10-767x184.png 767w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-10.png 1533w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">So the fix for this was to reissue the certificate for each Domain Controller to meet all the requirements of a Certificate installed on a Domain Controller with Cloud Kerberos Trust in use by clients; and then install this new server certificate (uniquely) onto each Domain Controller, ensuring that the full CA and intermediate CA chain was also present in the Machine Certificate Store, i.e. the local machine personal certificate store (cert:\\LocalMachine\\My).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, this alone was not enough, in this case restarting Active Directory Domain Services and\/or restarting the Domain Controller, to trigger KDC to pick a certificate still didn&#8217;t work, and within the logs we again saw the following in the Event Log of every Domain Controller:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Log Name:      Microsoft-Windows-Kerberos-Key-Distribution-Center\/Operational\nSource:        Microsoft-Windows-Kerberos-Key-Distribution-Center\nDate:          25\/11\/2026 17:07:17\nEvent ID:      200\nTask Category: KDC\nLevel:         Warning\nKeywords:      \nUser:          SYSTEM\nComputer:      dc1.yourdomain.com\nDescription:\nThe Key Distribution Center (KDC) cannot find a suitable certificate to use. This KDC is not enabled for smart card or certificate authentication.\nEvent Xml:<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">So why is this seemingly valid certificate not being used? That brings us to Issue 2.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Issue 2 &#8211; Missing Third-Party CA Certificate from Enterprise NTAuth store (on Domain Controller)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">So now we have what appears to be a valid certificate on the Domain Controller, there was something else missing. The Microsoft Article: <a href=\"https:\/\/learn.microsoft.com\/en-us\/troubleshoot\/windows-server\/certificates-and-public-key-infrastructure-pki\/import-third-party-ca-to-enterprise-ntauth-store\">https:\/\/learn.microsoft.com\/en-us\/troubleshoot\/windows-server\/certificates-and-public-key-infrastructure-pki\/import-third-party-ca-to-enterprise-ntauth-store<\/a> explains that when you are using a Third-Party CA Certificate which in our case we are, EJBCA; we&#8217;re not using the Windows CA any more, there are some additional steps you need to take.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The root CA needs to be in the machine <strong>Trusted Root Certification Authorities<\/strong> store, and the issuer CA needs to be in the machine <strong>Intermediate Certification Authorities<\/strong> store. The CA chain also needs to suitable for Kerberos authentication with the right EKU (1.3.6.1.5.2.3.5).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yep all OK, it says &#8220;All&#8221; so all parts of the chain are good.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"235\" src=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-11-1024x235.png\" alt=\"\" class=\"wp-image-5544\" srcset=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-11-1024x235.png 1024w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-11-768x176.png 768w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-11-300x69.png 300w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-11.png 1344w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">But, here&#8217;s where the Microsoft Article flagged the issue:&nbsp;On the Domain Controller there are kind of two certificate stores. The normal Certificate Store, but then the NTAuth store which is also used by the KDC.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So the KDC service on the domain controller only looks in the local machine personal certificate store (cert:\\LocalMachine\\My) for its KDC certificate, BUT it then seemingly wanted to have the Third-Party CA Root Certificate and any Third-Party Intermediate CA Certificates installed in the Enterprise NTAuth Store, which by default it is not, because these are Third-Party certs!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because of this missing CA Chain within the Enterprise NTAuth Store for our machine certificate, the KDC Service on the Domain Controller was not seeing our certificate as valid because it had no valid chain (to the CA).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Resolution<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The issuer CA certificate of our machine certificate needs to be in the NTAuth store of the Domain Controller, otherwise CertVerifyCertificateChainPolicy with CERT_CHAIN_POLICY_NT_AUTH will fail. And because we are not using a Windows CA, we need to perform some additional steps manually to import the CA cert(s) into the NTAuth store manually. Normally a Windows CA cert would do this automatically for you, from what I can tell.&nbsp;<a href=\"https:\/\/learn.microsoft.com\/en-us\/troubleshoot\/windows-server\/certificates-and-public-key-infrastructure-pki\/import-third-party-ca-to-enterprise-ntauth-store\">https:\/\/learn.microsoft.com\/en-us\/troubleshoot\/windows-server\/certificates-and-public-key-infrastructure-pki\/import-third-party-ca-to-enterprise-ntauth-store<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can view the list of certificates in the machine NTAuth store using:&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>certutil.exe -viewstore -enterprise ntauth<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Hmm, that&#8217;s not right. Where is the Issuer CA (Third-Party CA Root Certificate) cert for our newly installed machine certificate? Here we are only seeing the old one for the old Windows CA which is now gone. And even clicking on &#8220;More Choices&#8221; did not show it up!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"619\" src=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-12-1024x619.png\" alt=\"\" class=\"wp-image-5545\" srcset=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-12-1024x619.png 1024w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-12-300x181.png 300w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-12-768x464.png 768w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-12.png 1170w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">To resolve the missing issuer CA certificate from the NTAuth store, I added it with a Command Prompt Shell (elevated to Administrator of course!), where the two files contain a DER Certificate containing the Third-Party CA Root Certificate and the Third-Party Intermediate CA Certificate that make up the chain of our issued machine certificate. In my case to save time I just exported these (as DER Format) from the Domain Controller&#8217;s local machine store (where they were already installed anyway), exported to files ready for import.\u00a0<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>certutil.exe -enterprise -addstore NTAuth .\\CA.cer\ncertutil.exe -enterprise -addstore NTAuth .\\\"Issuing CA.cer\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Assuming the import is then successful, we should see something like:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"697\" height=\"178\" src=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-13.png\" alt=\"\" class=\"wp-image-5546\" srcset=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-13.png 697w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-13-300x77.png 300w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now re-run this to see what we can see:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>certutil.exe -viewstore -enterprise ntauth<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">And as you can see we have our new &#8220;XXXXXXXXXXXX Issuing Authority&#8221; certificates in there, the Root CA and Intermediate CA.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"470\" height=\"579\" src=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-14.png\" alt=\"\" class=\"wp-image-5547\" srcset=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-14.png 470w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-14-244x300.png 244w\" sizes=\"auto, (max-width: 470px) 100vw, 470px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"470\" height=\"766\" src=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-15.png\" alt=\"\" class=\"wp-image-5548\" srcset=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-15.png 470w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-15-184x300.png 184w\" sizes=\"auto, (max-width: 470px) 100vw, 470px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">So now we reboot the Domain Controller, and then check the logs, and we are now getting it selecting the correct certificate, and is showing that the KDC Distribution Center is finding a certificate now, because it has a whole chain it can use. And we can see its picked the only certificate available which is the machine certificate, as the thumbprint machines for the certificate in the store and the one selected by the KDC as made apparent by the Event 302 entry in the Event Log.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"690\" src=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-16-1024x690.png\" alt=\"\" class=\"wp-image-5549\" srcset=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-16-1024x690.png 1024w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-16-300x202.png 300w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-16-767x517.png 767w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-16.png 1368w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">Conclusion<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">So now, when we check the Windows 11 client after all the Domain Controllers have been remediated, what do we find. We find the Kerberos tickets being issued correctly you can see her the Partial-TGT, the TGT (from on-premise Active Directory) and a TGS for our Home Directory network share.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>C:\\Users\\bob>klist\n\nCurrent LogonId is 0:0x19ba1e\n\nCached Tickets: (3)\n\n#0>     Client: bob @ YOURDOMAIN.COM\n        Server: krbtgt\/KERBEROS.MICROSOFTONLINE.COM @ KERBEROS.MICROSOFTONLINE.COM\n        KerbTicket Encryption Type: Unknown (-1)\n        Ticket Flags 0x40810000 -> forwardable renewable name_canonicalize\n        Start Time: 11\/26\/2026 14:20:52 (local)\n        End Time:   11\/27\/2026 0:20:52 (local)\n        Renew Time: 12\/3\/2026 14:20:52 (local)\n        Session Key Type: AES-256-CTS-HMAC-SHA1-96\n        Cache Flags: 0x400 -> 0x400\n        Kdc Called: TicketSuppliedAtLogon\n\n#1>     Client: bob @ YOURDOMAIN.COM\n        Server: krbtgt\/YOURDOMAIN.COM @ YOURDOMAIN.COM\n        KerbTicket Encryption Type: AES-256-CTS-HMAC-SHA1-96\n        Ticket Flags 0x40e10000 -> forwardable renewable initial pre_authent name_canonicalize\n        Start Time: 11\/26\/2026 15:00:35 (local)\n        End Time:   11\/27\/2026 1:00:35 (local)\n        Renew Time: 12\/3\/2026 15:00:35 (local)\n        Session Key Type: AES-256-CTS-HMAC-SHA1-96\n        Cache Flags: 0x1 -> PRIMARY\n        Kdc Called: DC1.yourdomain.com\n\n#2>     Client: bob @ YOURDOMAIN.COM\n        Server: cifs\/fileserver @ YOURDOMAIN.COM\n        KerbTicket Encryption Type: AES-256-CTS-HMAC-SHA1-96\n        Ticket Flags 0x40a10000 -> forwardable renewable pre_authent name_canonicalize\n        Start Time: 11\/26\/2026 15:36:48 (local)\n        End Time:   11\/27\/2026 1:00:35 (local)\n        Renew Time: 12\/3\/2026 15:00:35 (local)\n        Session Key Type: AES-256-CTS-HMAC-SHA1-96\n        Cache Flags: 0\n        Kdc Called: DC1.yourdomain.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">We also find that rebooting the Windows 11 client machine and then logging in with the PIN does not mean we are prompted for the password any more, i.e. we don&#8217;t see this any more.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"313\" height=\"148\" src=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-17.png\" alt=\"\" class=\"wp-image-5550\" srcset=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-17.png 313w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/11\/image-17-300x142.png 300w\" sizes=\"auto, (max-width: 313px) 100vw, 313px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Nice.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If we then examine the Event Log of the Windows 11 client, specifically this one: <strong>Event Viewer \u2192 Application and Services Logs \u2192 Microsoft \u2192 Windows \u2192 Security-Kerberos \u2192 Operational<\/strong>, we no longer see the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>The Kerberos Key Distribution Center (KDC) for the domain YOURDOMAIN.COM does not have a certificate installed or does not support logon using certificates: 0xC0000320<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Which shows us that the correct certificate is available for the Windows 11 client, and coupled that with the network shares (on-campus resources) being available, the issue appears to be resolved.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Side Note &#8211; Certificate Selection<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">As a side note the certificate selection is a bit strange, the article by Awake Coding <a href=\"https:\/\/awakecoding.com\/posts\/active-directory-kerberos-kdc-certificate-selection\/\">https:\/\/awakecoding.com\/posts\/active-directory-kerberos-kdc-certificate-selection\/<\/a> describes this excellently.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Viewing the Available KDC Certificates<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The above article describes this PowerShell function that allows you to enumerate all the KDC Certificates you could use.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Run this to create yourself a function in PowerShell, its only temporary, if you want to make it permanent there are things you can do!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Copy and paste each section of the below in one by one, I found you had to right-click copy into the Administrator PowerShell console for it to work correctly.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Import-Module -Name Microsoft.PowerShell.Security\n\nAdd-Type -TypeDefinition @\"\n    using System;\n    using System.Runtime.InteropServices;\n    \n    public class Crypt32 {\n        &#91;DllImport(\"crypt32.dll\", CharSet = CharSet.Auto, SetLastError = true)]\n        public static extern IntPtr CertOpenStore(\n            int storeProvider,\n            int messageAndCertEncodingType,\n            IntPtr cryptProvHandle,\n            int certStoreFlags,\n            string storeName);\n            \n        &#91;DllImport(\"crypt32.dll\", SetLastError = true)]\n        public static extern IntPtr CertEnumCertificatesInStore(\n            IntPtr storeProvider,\n            IntPtr prevCertContext);\n            \n        &#91;DllImport(\"crypt32.dll\", SetLastError = true)]\n        public static extern bool CertCloseStore(\n            IntPtr certStoreHandle,\n            int flags);\n    }\n\"@\n\nfunction Get-KdcCertStoreEnumeratedCerts {\n    &#91;CmdletBinding()]\n    Param(\n        &#91;switch] $SkipFilter\n    )\n\n    $storeProvider = 0xA # CERT_STORE_PROV_SYSTEM\n    $storeFlag = 0x20000 -bor 1 # CERT_SYSTEM_STORE_LOCAL_MACHINE | CERT_STORE_READONLY_FLAG\n    $storeHandle = &#91;Crypt32]::CertOpenStore($storeProvider, 0, &#91;IntPtr]::Zero, $storeFlag, \"MY\")\n\n    if ($storeHandle -eq &#91;IntPtr]::Zero) {\n        throw \"Failed to open certificate store\"\n    }\n\n    try {\n        $certContext = &#91;Crypt32]::CertEnumCertificatesInStore($storeHandle, &#91;IntPtr]::Zero)\n        while ($certContext -ne &#91;IntPtr]::Zero) {\n            $cert = (New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 -ArgumentList $certContext)\n            if ($SkipFilter -or ($cert.HasPrivateKey -and\n                ($cert.EnhancedKeyUsageList.ObjectId -contains \"1.3.6.1.5.2.3.5\"))) { # KDC Authentication\n                Write-Output $cert\n            }\n            $certContext = &#91;Crypt32]::CertEnumCertificatesInStore($storeHandle, $certContext)\n        }\n    }\n    finally {\n        &#91;void]&#91;Crypt32]::CertCloseStore($storeHandle, 0)\n    }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then run like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PS C:\\users\\bob\\desktop> Get-KdcCertStoreEnumeratedCerts | Select-Object -Property Thumbprint,Subject,SerialNumber<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">On this particular server, there is only one certificate, so the correct one will always be selected.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, what if you have like 5 different certificates, some of them valid some of them expired then what?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yeah, you can see the problem that the AwakeCoding article above goes into.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In our case, we only want a single valid certificate at anyone time, so we&#8217;ll rotate and swap them as we need to, based on their validity.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Additional Information\/Further Reading<\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.cloudcoffee.ch\/microsoft-azure\/kerberos-cloud-trust-and-windows-hello-for-business-secure-and-seamless-authentication-in-hybrid-environments\/\">https:\/\/www.cloudcoffee.ch\/microsoft-azure\/kerberos-cloud-trust-and-windows-hello-for-business-secure-and-seamless-authentication-in-hybrid-environments\/<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/intunestuff.com\/2025\/08\/08\/cloud-kerberos-trust-wfhb-intune\/\">https:\/\/intunestuff.com\/2025\/08\/08\/cloud-kerberos-trust-wfhb-intune\/<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.systemcenterdudes.com\/windows-hello-cloud-kerberos-trust\/\">https:\/\/www.systemcenterdudes.com\/windows-hello-cloud-kerberos-trust\/<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.linkedin.com\/pulse\/windows-needs-your-current-credentials-azure-ad-joined-david-carter\">https:\/\/www.linkedin.com\/pulse\/windows-needs-your-current-credentials-azure-ad-joined-david-carter<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/thingsgeeky.arcotek.co.uk\/public\/computing\/devices\/euc\/win-hello-creds.html\">https:\/\/thingsgeeky.arcotek.co.uk\/public\/computing\/devices\/euc\/win-hello-creds.html<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/answers\/questions\/1649441\/kerberos-key-distribution-center-warning-id-32\">https:\/\/learn.microsoft.com\/en-us\/answers\/questions\/1649441\/kerberos-key-distribution-center-warning-id-32<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/thingsgeeky.arcotek.co.uk\/public\/computing\/devices\/euc\/win-hello-creds.html\">https:\/\/thingsgeeky.arcotek.co.uk\/public\/computing\/devices\/euc\/win-hello-creds.html<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.ruianding.com\/blog\/whfb-key-trust-sign-in-failure-0xc0000320\/\">https:\/\/www.ruianding.com\/blog\/whfb-key-trust-sign-in-failure-0xc0000320\/<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.reddit.com\/r\/Intune\/comments\/18b9aky\/cloud_kerberos_trust_intune_devices_system_cannot\/\">https:\/\/www.reddit.com\/r\/Intune\/comments\/18b9aky\/cloud_kerberos_trust_intune_devices_system_cannot\/<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/gravitational\/teleport\/discussions\/33108\">https:\/\/github.com\/gravitational\/teleport\/discussions\/33108<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/troubleshoot\/windows-server\/certificates-and-public-key-infrastructure-pki\/import-third-party-ca-to-enterprise-ntauth-store\">https:\/\/learn.microsoft.com\/en-us\/troubleshoot\/windows-server\/certificates-and-public-key-infrastructure-pki\/import-third-party-ca-to-enterprise-ntauth-store<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>We had a problem on Windows 11 client machines which are Entra cloud joined where a user can log on with their PIN, but they are not able to access any on-premise network shares or printers without being prompted with the following message saying: &#8220;Windows needs your current credentials Please lock this computer, then unlock &#8230; <a title=\"The Kerberos Key Distribution Center (KDC) for the domain &lt;YOUR_DOMAIN&gt; does not have a certificate installed or does not support logon using certificates: 0xC0000320\" class=\"read-more\" href=\"https:\/\/geekmungus.co.uk\/?p=5537\" aria-label=\"Read more about The Kerberos Key Distribution Center (KDC) for the domain &lt;YOUR_DOMAIN&gt; does not have a certificate installed or does not support logon using certificates: 0xC0000320\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":5538,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,3,54,14],"tags":[],"class_list":["post-5537","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-active-directory","category-cloud","category-microsoft-365","category-microsoft-windows"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/5537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5537"}],"version-history":[{"count":2,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/5537\/revisions"}],"predecessor-version":[{"id":5551,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/5537\/revisions\/5551"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/media\/5538"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}