Use the VMware Validated Design Certificate Generation Utility (CertGenVVD) to generate certificates that are signed by the Microsoft certificate authority (MSCA) for all management product with a single operation.

About this task

For information about the VMware Validated Design Certificate Generation Utility, see VMware Knowledge Base article 2146215.

Prerequisites

  • If you use an intermediate CA such as sfo01.rainpole.local, make the Windows host that you use to connect to the data center a part of the sfo01.rainpole.local domain.

Procedure

  1. Log in to a Windows host that has access to your data center.
  2. Download the CertGenVVD-version.zip file of the Certificate Generation Utility from VMware Knowledge Base article 2146215 on the Windows host where you connect to the data center and extract the ZIP file to the C: drive.
  3. In the C:\CertGenVVD-version folder, open the default.txt file in a text editor.
  4. Verify that following properties are configured.
    ORG=Rainpole Inc.
    OU=Rainpole.local
    LOC=SFO
    ST=CA
    CC=US
    CN=VMware_VVD
    keysize=2048
  5. Verify that only the C:\CertGenVVD-version\ConfigFiles folder contains only following files.

    • comp01esx01.sfo01.txt

    • comp01esx02.sfo01.txt

    • comp01esx03.sfo01.txt

    • comp01esx04.sfo01.txt

    • comp01nsxm01.sfo01.txt

    • comp01vc01.sfo01.txt

    • mgmt01nsxm01.sfo01.txt

    • sfo01psc01.sfo01.txt

    • mgmt01esx01.sfo01.txt

    • mgmt01esx02.sfo01.txt

    • mgmt01esx03.sfo01.txt

    • mgmt01esx04.sfo01.txt

    • mgmt01srm01.sfo01.txt

    • mgmt01vc01.sfo01.txt

    • mgmt01vdp01.sfo01.txt

    • mgmt01vrms01.sfo01.txt

    • vra.txt

    • vrb.txt

    • vrli.sfo01.txt

    • vro.txt

    • vrops-forVVD4.0.txt

  6. If sfo01psc01.sfo01.txt does not exist, create it so that you can generate certificates for the Platform Services Controllers that are behind a load balancer in Region A.
    1. Make a copy of mgmt01vc01.sfo01.txt and save it as sfo01psc01.sfo01.txt.
    2. Open the copied file in a text editor, and verify that the following properties are configured.

      sfo01psc01.sfo01.txt

      [CERT] 
      NAME=default
      ORG=default 
      OU=default
      LOC=SFO
      ST=default
      CC=default
      CN=sfo01psc01.sfo01.rainpole.local
      keysize=default
      [SAN]
      comp01psc01
      mgmt01psc01
      comp01psc01.sfo01.rainpole.local
      mgmt01psc01.sfo01.rainpole.local
      sfo01psc01
      sfo01psc01.sfo01.rainpole.local
  7. Open a Windows PowerShell prompt and navigate to the CertGenVVD folder.

    For example, of you use CertGenVVD 2.1, navigate to the following folder:

    cd C:\CertGenVVD-2.1
  8. Run the following command to grant PowerShell permissions to run third-party shell scripts.
    Set-ExecutionPolicy Unrestricted
  9. Run the following command to validate prerequisites for running the utility.

    Verify that VMware is included in the available CA Template Policy.

    .\CertgenVVD-2.1.ps1 -validate
  10. Run the following command to generate MSCA-signed certificates.
    .\CertGenVVD-2.1.ps1 -MSCASigned -attrib 'CertificateTemplate:VMware'
  11. In the c:\CertGenVVD-version folder, verify that the utility created the SignedByMSCACerts sub-folder.

What to do next

Replace the product certificates with the certificates that the CertGenVVD utility has generated. See Replace Certificates of the Management Products in Region A.