{"id":2159,"date":"2022-02-16T02:40:00","date_gmt":"2022-02-16T00:40:00","guid":{"rendered":"https:\/\/itsimple.info\/?p=2159"},"modified":"2022-02-16T02:41:20","modified_gmt":"2022-02-16T00:41:20","slug":"certificate-authority-missing-templates","status":"publish","type":"post","link":"https:\/\/itsimple.info\/?p=2159","title":{"rendered":"Certificate Authority error &#8220;Template information could not be loaded&#8221;"},"content":{"rendered":"\n<p>When opening the Certificate Authority Manager, under Certificate tamp lets  you get error like &#8220;Template information could not be loaded&#8221; &amp; &#8220;Element not found&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"478\" src=\"https:\/\/itsimple.info\/wp-content\/uploads\/2022\/02\/CertAuthority_Tamplate_Error.png\" alt=\"\" data-id=\"2160\" data-full-url=\"https:\/\/itsimple.info\/wp-content\/uploads\/2022\/02\/CertAuthority_Tamplate_Error.png\" data-link=\"https:\/\/itsimple.info\/?attachment_id=2160\" class=\"wp-image-2160\" srcset=\"https:\/\/itsimple.info\/wp-content\/uploads\/2022\/02\/CertAuthority_Tamplate_Error.png 700w, https:\/\/itsimple.info\/wp-content\/uploads\/2022\/02\/CertAuthority_Tamplate_Error-300x205.png 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/li><\/ul><\/figure>\n\n\n\n<p>This could happen when the DC computer object do not have the right permission , This could also happen if you have upgraded the domain or move the Certificate Authority to another DC doing backup and restore.<\/p>\n\n\n\n<p>To resolve this you need to use ADSI Edit from one of your Domain Controllers. Open ADSI Edit and connect to the Configuration partition, expand <strong>CN=Services, CN=Public Key Services<\/strong> and find <strong>CN=Certificate Templates<\/strong>. Right click on <strong>CN=Certificate Templates<\/strong> and select <strong>Properties<\/strong>.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/2.bp.blogspot.com\/-qXXWxLdKLxs\/W6IFB9bTnAI\/AAAAAAAAEbY\/GzdwJI3Kcf4yMcaYoYqILCDZCFxajnBvgCLcBGAs\/s320\/2.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>Give the DC computer Object read permission on &#8220;Certificate Template&#8221; &amp; &#8220;Enrollment Services&#8221; . If the  &#8220;Enrollment Services&#8221; is empty and missing the pKIEnrollmentService object you will need to restore it<\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"690\" src=\"https:\/\/itsimple.info\/wp-content\/uploads\/2022\/02\/CertificateEnrolService-1024x690.png\" alt=\"\" data-id=\"2162\" data-full-url=\"https:\/\/itsimple.info\/wp-content\/uploads\/2022\/02\/CertificateEnrolService.png\" data-link=\"https:\/\/itsimple.info\/?attachment_id=2162\" class=\"wp-image-2162\" srcset=\"https:\/\/itsimple.info\/wp-content\/uploads\/2022\/02\/CertificateEnrolService-1024x690.png 1024w, https:\/\/itsimple.info\/wp-content\/uploads\/2022\/02\/CertificateEnrolService-300x202.png 300w, https:\/\/itsimple.info\/wp-content\/uploads\/2022\/02\/CertificateEnrolService-768x518.png 768w, https:\/\/itsimple.info\/wp-content\/uploads\/2022\/02\/CertificateEnrolService.png 1182w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li><\/ul><\/figure>\n\n\n\n<p> <\/p>\n\n\n\n<h1 class=\"wp-block-heading\">How To Restore the pKIEnrollmentService object<\/h1>\n\n\n\n<ol class=\"wp-block-list\"><li>Check for the&nbsp;<strong>pkiEnrollmentService<\/strong>&nbsp;object in&nbsp;<strong>CN=Enrollment Services,CN=Public Key Services,CN=Services,CN=Configuration,DC=Contoso,DC=com<\/strong>&nbsp;using&nbsp;<strong>ADSIEdit<\/strong><\/li><li>If the&nbsp;<strong>CN=Enrollment Services<\/strong>&nbsp;container object is also missing, manually create a new container object named&nbsp;<strong>Enrollment Services<\/strong>&nbsp;before proceeding<\/li><li>In the&nbsp;<strong>Certification Authority<\/strong>&nbsp;snap-in, right-click on the CA name, go to&nbsp;<strong>All Tasks<\/strong>&nbsp;and click&nbsp;<strong>Backup CA<\/strong><\/li><li>Within the Backup wizard, backup both the&nbsp;<strong>CA database<\/strong>&nbsp;and the&nbsp;<strong>Public\/Private Key Pair<\/strong><\/li><li>Backup the CA locally (<strong>C:\\Backup<\/strong>, etc.)<\/li><li>After the backup is made, in the&nbsp;<strong>Certification Authority<\/strong>&nbsp;snap-in, right-click on the CA name, go to&nbsp;<strong>All Tasks<\/strong>&nbsp;and click&nbsp;<strong>Renew CA Certificate<\/strong><\/li><li>Choose the same key (the&nbsp;<strong>No<\/strong>&nbsp;selection in the UI)<\/li><li>Check for the&nbsp;<strong>pkiEnrollmentService<\/strong>&nbsp;object in&nbsp;<strong>CN=Enrollment Services,CN=Public Key Services,CN=Services,CN=Configuration,DC=Contoso,DC=com<\/strong>&nbsp;using&nbsp;<strong>ADSIEdit<\/strong><\/li><li>Test the enrollment services by restart the CA service and re-open the Certificate Authority snap-in<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"842\" height=\"400\" src=\"https:\/\/itsimple.info\/wp-content\/uploads\/2022\/02\/CertificateTamplates.png\" alt=\"\" data-id=\"2163\" data-full-url=\"https:\/\/itsimple.info\/wp-content\/uploads\/2022\/02\/CertificateTamplates.png\" data-link=\"https:\/\/itsimple.info\/?attachment_id=2163\" class=\"wp-image-2163\" srcset=\"https:\/\/itsimple.info\/wp-content\/uploads\/2022\/02\/CertificateTamplates.png 842w, https:\/\/itsimple.info\/wp-content\/uploads\/2022\/02\/CertificateTamplates-300x143.png 300w, https:\/\/itsimple.info\/wp-content\/uploads\/2022\/02\/CertificateTamplates-768x365.png 768w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><\/figure><\/li><\/ul><\/figure>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote class=\"has-text-color has-vivid-green-cyan-color\"><p><strong>Good Luck<\/strong><\/p><\/blockquote><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>When opening the Certificate Authority Manager, under Certificate tamp lets you get error like &#8220;Template information could not be loaded&#8221; &amp; &#8220;Element not found&#8221; This could happen when the DC computer object do not have the right permission , This could also happen if you have upgraded the domain or move the Certificate Authority to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,12,14,15],"tags":[],"class_list":["post-2159","post","type-post","status-publish","format-standard","hentry","category-tech","category-tutorials","category-windows","category-windows-server"],"_links":{"self":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/2159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2159"}],"version-history":[{"count":0,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/2159\/revisions"}],"wp:attachment":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}