{"id":196,"date":"2022-07-27T16:16:00","date_gmt":"2022-07-27T14:16:00","guid":{"rendered":"https:\/\/zerobotics.de\/blog\/?p=196"},"modified":"2023-07-17T16:32:09","modified_gmt":"2023-07-17T14:32:09","slug":"creating-a-microsoft-ca-template-for-vsphere-6-x-7-x","status":"publish","type":"post","link":"https:\/\/zerobotics.de\/blog\/en\/creating-a-microsoft-ca-template-for-vsphere-6-x-7-x\/","title":{"rendered":"Creating a Microsoft CA Template for vSphere 6.x\/7.x"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time<\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">Minutes<\/span><\/span>\n<p>In order to be able to create uniform certificates that are signed by a Microsoft CA in our lab environment in a meaningful and &#8222;VMware compliant&#8220; way, it was necessary to create a Certificate Template in advance.<\/p>\n\n\n\n<p>The following instructions are based on the VMware KB article <a rel=\"noreferrer noopener\" href=\"https:\/\/kb.vmware.com\/s\/article\/2112009\" target=\"_blank\">Creating a Microsoft Certificate Authority Template for SSL certificate creation in vSphere 6.x\/7.x<\/a><\/p>\n\n\n\n<!--more-->\n\n\n\n<p>The first step takes place in the &#8222;Certificate Templates&#8220; MMC snap-in. To do this, ideally start <strong><code>mmc.exe<\/code><\/strong> on the Windows CA server via RDP and add the <code><strong>Certificate Templates<\/strong><\/code> snap-in.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"709\" src=\"https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/grafik-1024x709.png\" alt=\"\" class=\"wp-image-187\" srcset=\"https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/grafik-1024x709.png 1024w, https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/grafik-300x208.png 300w, https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/grafik-768x532.png 768w, https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/grafik-624x432.png 624w, https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/grafik.png 1151w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>MMC Snap-In for Certificate Templates<\/figcaption><\/figure>\n\n\n\n<p>Duplicate the Web Server Template:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"444\" height=\"166\" src=\"https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-17.png\" alt=\"\" class=\"wp-image-177\" srcset=\"https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-17.png 444w, https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-17-300x112.png 300w\" sizes=\"auto, (max-width: 444px) 100vw, 444px\" \/><figcaption>Duplicate Web Server Template<\/figcaption><\/figure>\n\n\n\n<p>Now the Properties window opens and we have to adjust some settings.<\/p>\n\n\n\n<p>Set the compatibility to Windows 7 \/ Windows 2008 R2. Theoretically, it also works with a higher version, but this increases the schema version. This in turn means that it is no longer available for selection in the Web Enrollment Interface, as templates are only displayed up to schema version 2. The underlying reasons are unclear to me, but that&#8217;s the only way it worked.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"395\" height=\"557\" src=\"https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-18.png\" alt=\"\" class=\"wp-image-178\" srcset=\"https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-18.png 395w, https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-18-213x300.png 213w\" sizes=\"auto, (max-width: 395px) 100vw, 395px\" \/><figcaption>Compatibilty set to Win 2008 R2 \/ Win 7<\/figcaption><\/figure>\n\n\n\n<p>Set Display\/Template Name under <strong><code>General<\/code><\/strong> as desired, in my case &#8222;VMware&#8220;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"559\" src=\"https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-24.png\" alt=\"\" class=\"wp-image-185\" srcset=\"https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-24.png 400w, https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-24-215x300.png 215w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><figcaption>Set Template Name to VMware<\/figcaption><\/figure>\n\n\n\n<p>Under <strong><code>Extensions &gt;&gt; Applications Policies &gt;&gt; Edit<\/code><\/strong>, then select <strong><code>Server Authentication &gt;&gt; Remove<\/code><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"408\" height=\"614\" src=\"https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-20.png\" alt=\"\" class=\"wp-image-180\" srcset=\"https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-20.png 408w, https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-20-199x300.png 199w\" sizes=\"auto, (max-width: 408px) 100vw, 408px\" \/><figcaption>Server Authentication must be removed<\/figcaption><\/figure>\n\n\n\n<p>Next, under <strong><code>Extensions &gt;&gt; Basic Constraints &gt;&gt; Edit<\/code><\/strong>, tick <code><strong>Enable this extension<\/strong><\/code>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"411\" height=\"565\" src=\"https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-22.png\" alt=\"\" class=\"wp-image-182\" srcset=\"https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-22.png 411w, https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-22-218x300.png 218w\" sizes=\"auto, (max-width: 411px) 100vw, 411px\" \/><figcaption>Basic Constraints &#8211; Enable this extension<\/figcaption><\/figure>\n\n\n\n<p>Also under <strong><code>Extensions &gt;&gt; Key Usage &gt;&gt; Edit<\/code><\/strong>, tick <strong><code>Signature is proof of origin<\/code><\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"406\" height=\"721\" src=\"https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-19.png\" alt=\"\" class=\"wp-image-179\" srcset=\"https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-19.png 406w, https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-19-169x300.png 169w\" sizes=\"auto, (max-width: 406px) 100vw, 406px\" \/><figcaption>Key Usage &#8211; activate Signature is proof of origin<\/figcaption><\/figure>\n\n\n\n<p>Under <strong><code>Subject Name<\/code><\/strong>, ensure that <strong><code>Supply in request<\/code><\/strong> is active:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-21.png\" alt=\"\" class=\"wp-image-181\" width=\"406\" height=\"568\" srcset=\"https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-21.png 406w, https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-21-214x300.png 214w\" sizes=\"auto, (max-width: 406px) 100vw, 406px\" \/><figcaption>Subject Name &#8211; Supply in the request<\/figcaption><\/figure>\n\n\n\n<p>We are now through with the settings and confirm with OK.<\/p>\n\n\n\n<p>Finally, the template must be added to the other templates in the Certification Authority Snap-In by right-clicking on <strong><code>Certificate Templates &gt;&gt; New &gt;&gt; Certificate Template to issue<\/code><\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"755\" height=\"611\" src=\"https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-23.png\" alt=\"\" class=\"wp-image-184\" srcset=\"https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-23.png 755w, https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-23-300x243.png 300w, https:\/\/zerobotics.de\/blog\/wp-content\/uploads\/2022\/07\/image-23-624x505.png 624w\" sizes=\"auto, (max-width: 755px) 100vw, 755px\" \/><figcaption>Certificate Template to issue<\/figcaption><\/figure>\n\n\n\n<p>The next steps for me are to use the template for all my Lab certificate signings. I documented a first example with VMware NSX ALB in a blog article.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time<\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">Minutes<\/span><\/span>In order to be able to create uniform certificates that are signed by a Microsoft CA in our lab environment in a meaningful and &bdquo;VMware compliant&ldquo; way, it was necessary to create a Certificate Template in advance. The following instructions are based on the VMware KB article Creating a Microsoft Certificate Authority Template for SSL [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[],"class_list":["post-196","post","type-post","status-publish","format-standard","hentry","category-vmware-en"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/zerobotics.de\/blog\/wp-json\/wp\/v2\/posts\/196","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zerobotics.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zerobotics.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zerobotics.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zerobotics.de\/blog\/wp-json\/wp\/v2\/comments?post=196"}],"version-history":[{"count":5,"href":"https:\/\/zerobotics.de\/blog\/wp-json\/wp\/v2\/posts\/196\/revisions"}],"predecessor-version":[{"id":299,"href":"https:\/\/zerobotics.de\/blog\/wp-json\/wp\/v2\/posts\/196\/revisions\/299"}],"wp:attachment":[{"href":"https:\/\/zerobotics.de\/blog\/wp-json\/wp\/v2\/media?parent=196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zerobotics.de\/blog\/wp-json\/wp\/v2\/categories?post=196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zerobotics.de\/blog\/wp-json\/wp\/v2\/tags?post=196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}