Creating a Microsoft Certificate Authority Template for SSL certificate creation in vSphere 5.x
search cancel

Creating a Microsoft Certificate Authority Template for SSL certificate creation in vSphere 5.x

book

Article ID: 315348

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

This article provides information on manually configuring a new Certificate Authority (CA) template based on the Web Server template located in the Certificate Authority Root or Subordinate server for use with SSL certificate implementation in VMware vSphere 5.x.

By default, the Certificate Authority role in Windows Server 2008 and later do not include Data Encipherment, Nonrepudiation, or Client Authentication on the Web Server template. vSphere 5.0 requires the use of Nonrepudiation and Client Authentication on the generated CA certificates; vSphere 5.1 and 5.5 require Data Encipherment on the generated CA certificates.

For more information

Environment

VMware vCenter Server 5.0.x
VMware vCenter Server 5.5.x
VMware vCenter Server 5.1.x

Resolution

Creating a new default template

To create a new default template:

  1. Connect to the Root CA server or Subordinate CA server through RDP.

    Note: Connect to the CA server in which you are intending to perform your certificate generation.
     
  2. Click Start > Run, type certtmpl.msc, and click OK. The Certificate Template Console opens.
  3. In the middle pane, under Template Display Name, locate Web Server.
  4. Right-click Web Server and click Duplicate Template.
  5. In the Duplicate Template window, select Windows Server 2003 Enterprise for backward compatibility.

    Note: If you have an encryption level higher than SHA1, select Windows Server 2008 Enterprise.
     
  6. Click the General tab.
  7. In the Template display name field, enter VMware Certificate as the name of the new template.
  8. Click the Extensions tab.
  9. Select Key Usage and click Edit.
  10. Select the Signature is proof of origin (nonrepudiation) option.
  11. Select the Allow encryption of user data option.
  12. Click OK.
  13. Select Application Policies and click Edit.
  14. Click Add.
  15. Select Client Authentication.

    Note: You may need to provide a name to proceed to step 16.
     
  16. Click OK.
  17. Click OK again.
  18. Click the Subject Name tab.
  19. Ensure that the Supply in the request option is selected.
  20. Click OK to save the template.

Adding a new template to certificate templates

To add a new template to certificate templates:

  1. Connect to the Root CA server or Subordinate CA server through RDP.

    Note: Connect to the CA server in which you are intending to perform your certificate generation.
     
  2. Click Start > Run, type certsrv.msc, and click OK. The Certificate Server console opens.
  3. In the left pane, if collapsed, expand the node by clicking the [+] icon.
  4. Right-click Certificate Templates and click New > Certificate Template to Issue.
  5. Locate VMware Certificate under the Name column.
  6. Click OK.

    A new template option is now created in your Active Directory Certificate Services node. This new template can be used in the place of Web Server for the vSphere 5.x CA certificate.


Additional Information

vSphere 5.x における SSL 証明書作成用の Microsoft 認証局テンプレートを作成する
在 vSphere 5.x 中创建 Microsoft 证书颁发机构模板以创建 SSL 证书