{"id":5923,"date":"2022-08-01T23:47:03","date_gmt":"2022-08-01T23:47:03","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=5923"},"modified":"2022-08-01T23:47:03","modified_gmt":"2022-08-01T23:47:03","slug":"kb5014754-certificate-based-authentication-changes-on-windows-2012-domain-controllers","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/kb5014754-certificate-based-authentication-changes-on-windows-2012-domain-controllers","title":{"rendered":"KB5014754: Certificate-based authentication changes on Windows 2012 domain controllers"},"content":{"rendered":"<div class=\"x_elementToProof\">Customer has 2012 DC&#8217;s with NPS and the Azure MFA extension for their Cisco Meraki Client VPN<\/div><div class=\"x_elementToProof\">\u00a0<\/div><div class=\"x_elementToProof\">All staff were not able to connect to the VPN from 8am. I have not found why it started at this time. Users before this were able to log in&#8230;<\/div><div class=\"x_elementToProof\">\u00a0<\/div><div class=\"x_elementToProof\">Event Viewer showed\u00a0<i>Unknown username or bad password in use.<\/i><\/div><div>\u00a0<\/div><div><p id=\"HTyZFqq\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"800\" class=\"alignnone size-full wp-image-5927  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_62e86561c7090.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_62e86561c7090.png 1280w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_62e86561c7090-300x188.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_62e86561c7090-1024x640.png 1024w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_62e86561c7090-768x480.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p><\/div><div>\u00a0<\/div><div class=\"x_elementToProof\">The NPS MFA extension leads you down a path that isn&#8217;t correct (for me). Dont trust this.<\/div><div>\u00a0<\/div><div><p id=\"AkZOcbM\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"741\" class=\"alignnone size-full wp-image-5928  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_62e8658959db0.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_62e8658959db0.png 1280w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_62e8658959db0-300x174.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_62e8658959db0-1024x593.png 1024w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_62e8658959db0-768x445.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p><\/div><div>\u00a0<\/div><div class=\"x_elementToProof\">Also dont trust the reason codes in the NPS logs<\/div><div class=\"x_elementToProof\">You may see reason code 21, &lt;Reason-Code data_type=&#8221;0&#8243;&gt;21&lt;\/Reason-Code&gt;&lt;\/Event&gt; Further pointing to MFA extension issues.<\/div><div class=\"x_elementToProof\"><a id=\"LPNoLPOWALinkPreview_2\" href=\"https:\/\/docs.microsoft.com\/en-us\/previous-versions\/windows\/it-pro\/windows-server-2008-R2-and-2008\/dd197464(v=ws.10)\" target=\"_blank\" rel=\"noopener noreferrer\" data-auth=\"NotApplicable\" data-linkindex=\"0\">https:\/\/docs.microsoft.com\/en-us\/previous-versions\/windows\/it-pro\/windows-server-2008-R2-and-2008\/dd197464(v=ws.10)<\/a><\/div><div class=\"x_elementToProof\">\u00a0<\/div><div class=\"x_elementToProof\">\u00a0<\/div><div class=\"x_elementToProof\">To prove its not MFA related you can run the Check tool<br aria-hidden=\"true\" \/><a id=\"LPNoLPOWALinkPreview_1\" href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/active-directory\/authentication\/howto-mfa-nps-extension#:~:text=NPS%20extension%20health%20check%20script\" target=\"_blank\" rel=\"noopener noreferrer\" data-auth=\"NotApplicable\" data-linkindex=\"1\">https:\/\/docs.microsoft.com\/en-us\/azure\/active-directory\/authentication\/howto-mfa-nps-extension#:~:text=NPS%20extension%20health%20check%20script<\/a><\/div><div class=\"x_elementToProof\">\u00a0<\/div><div class=\"x_elementToProof\">Run with powershell and select option 1 to temporarily remove the MFA requirement and attempt a login to prove its not MFA.<\/div><div class=\"x_elementToProof\"><div class=\"x__Entity x__EType_OWALinkPreview x__EId_OWALinkPreview_1 x__EReadonly_1\">\u00a0<\/div><\/div><div class=\"x_elementToProof\">New errors in NPS logs.<\/div><div class=\"x_elementToProof\">I was getting\u00a0&lt;Reason-Code data_type=&#8221;0&#8243;&gt;16&lt;\/Reason-Code&gt; Not the most helpful and there are LOTS of results. But\u00a0I found the below recent article which fixed it for me.\u00a0<\/div><div class=\"x_elementToProof\">\u00a0<\/div><div class=\"x_elementToProof\">I did apply these keys for all the domain controllers. But that might be overkill and unnecessary. The real fix is to get off server 2012.<\/div><div class=\"x_elementToProof\">\u00a0<\/div><div class=\"x_elementToProof\"><a id=\"LPlnkOWALinkPreview\" tabindex=\"-1\" title=\"https:\/\/support.microsoft.com\/en-gb\/topic\/kb5014754-certificate-based-authentication-changes-on-windows-domain-controllers-ad2c23b0-15d8-4340-a468-4d4f3b188f16\" href=\"https:\/\/support.microsoft.com\/en-gb\/topic\/kb5014754-certificate-based-authentication-changes-on-windows-domain-controllers-ad2c23b0-15d8-4340-a468-4d4f3b188f16\" target=\"_blank\" rel=\"noopener noreferrer\" data-auth=\"NotApplicable\" data-linkindex=\"2\">https:\/\/support.microsoft.com\/en-gb\/topic\/kb5014754-certificate-based-authentication-changes-on-windows-domain-controllers-ad2c23b0-15d8-4340-a468-4d4f3b188f16<\/a><\/div><div>\u00a0<\/div><div class=\"x__Entity x__EType_OWALinkPreview x__EId_OWALinkPreview x__EReadonly_1\"><div id=\"LPBorder_GTaHR0cHM6Ly9zdXBwb3J0Lm1pY3Jvc29mdC5jb20vZW4tZ2IvdG9waWMva2I1MDE0NzU0LWNlcnRpZmljYXRlLWJhc2VkLWF1dGhlbnRpY2F0aW9uLWNoYW5nZXMtb24td2luZG93cy1kb21haW4tY29udHJvbGxlcnMtYWQyYzIzYjAtMTVkOC00MzQwLWE0NjgtNGQ0ZjNiMTg4ZjE2\" class=\"x_LPBorder856099\"><table id=\"LPContainer856099\" role=\"presentation\"><tbody><tr valign=\"top\"><td><div id=\"LPTitle856099\"><a id=\"LPUrlAnchor856099\" href=\"https:\/\/support.microsoft.com\/en-gb\/topic\/kb5014754-certificate-based-authentication-changes-on-windows-domain-controllers-ad2c23b0-15d8-4340-a468-4d4f3b188f16\" target=\"_blank\" rel=\"noopener noreferrer\" data-auth=\"NotApplicable\" data-linkindex=\"3\">KB5014754: Certificate-based authentication changes on Windows domain controllers<\/a><\/div><div id=\"LPDescription856099\">Note Certain fields, such as Issuer, Subject, and Serial Number, are reported in a \u201cforward\u201d format.You must reverse this format when you add the mapping string to the altSecurityIdentities attribute. For example, to add the X509IssuerSerialNumber mapping to a user, search the \u201cIssuer\u201d and \u201cSerial Number\u201d fields of the certificate that you want to map to the user.<\/div><div id=\"LPMetadata856099\">support.microsoft.com<\/div><\/td><\/tr><\/tbody><\/table><div id=\"LPCloseButtonContainer856099\" class=\"x_BteeS\" tabindex=\"0\" title=\"Remove link preview\" role=\"button\"><i id=\"LPCloseButton856099\" class=\"x_w6wS4 x_root-207\" aria-hidden=\"true\">?<\/i><\/div><\/div><\/div><div class=\"x_elementToProof\">\u00a0<\/div><div class=\"x_elementToProof\">This isn&#8217;t complete yet, after enabling MFA I now have TLS and cipher errors from the MFA plugin.\u00a0<\/div><div class=\"x_elementToProof\">\u00a0<\/div><div class=\"x_elementToProof\">But hopefully this will be an easy fix.<\/div><div class=\"x_elementToProof\">\u00a0<\/div><div class=\"x_elementToProof\"><p id=\"kVPVfGG\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"800\" class=\"alignnone size-full wp-image-5929  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_62e865db9e322.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_62e865db9e322.png 1280w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_62e865db9e322-300x188.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_62e865db9e322-1024x640.png 1024w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/08\/img_62e865db9e322-768x480.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p><\/div>","protected":false},"excerpt":{"rendered":"<p>Customer has 2012 DC&#8217;s with NPS and the Azure MFA extension for their Cisco Meraki Client VPN\u00a0All staff were not able to connect to the VPN from [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[2193,3865,1193,2460,1351],"class_list":["post-5923","post","type-post","status-publish","format-standard","hentry","category-research","tag-2193","tag-based-auth","tag-certificate","tag-meraki","tag-vpn"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=5923"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5923\/revisions"}],"predecessor-version":[{"id":5930,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5923\/revisions\/5930"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=5923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=5923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=5923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}