Use the Certificate Generation Utility to Generate CA-Signed Certificates for the SDDC Management Components in Region B

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.

Before you begin

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

About this task

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

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.

    {#GUID-825961C7-50F2-45A5-B692-B8C9DAC61943__codeblock_0E97CE81BAEC4F5E9FBB5DDC2E55DD86 .pre .codeblock} ORG=Rainpole Inc. OU=Rainpole.local LOC=LAX ST=CA CC=US CN=VMware_VVD keysize=2048

  5. Verify that only the c:\CertGenVVD-version\ConfigFiles folder contains only following files.

    • comp01esx51.lax01.txt

    • comp01esx52.lax01.txt

    • comp01esx53.lax01.txt

    • comp01esx54.lax01.txt

    • comp01nsxm51.lax01.txt

    • comp01vc51.lax01.txt

    • comp01psc51.lax01.txt

    • mgmt01esx51.lax01.txt

    • mgmt01esx52.lax01.txt

    • mgmt01esx53.lax01.txt

    • mgmt01esx54.lax01.txt

    • mgmt01nsxm51.lax01.txt

    • mgmt01srm51.lax01.txt

    • mgmt01vc51.lax01.txt

    • mgmt01vdp51.lax01.txt

    • mgmt01vrms51.lax01.txt

    • lax01psc51.lax01.txt

    • vrli.lax01.txt

  6. If lax01psc51.lax01.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 B.

    1. Make a copy of mgmt01psc51.lax01.txt and save it as lax01psc51.lax01.txt.
    2. Open the copied file in a text editor, and verify that the following properties are configured. |lax01psc51.lax01.txt| |:-------------------| |{#GUID-825961C7-50F2-45A5-B692-B8C9DAC61943__codeblock_412411D4E882425C91B902A6D6962094 .pre .codeblock} [CERT] NAME=default ORG=default OU=default LOC=LAC ST=default CC=default CN=lax01psc51.lax01.rainpole.local keysize=default [SAN] lax01psc51 lax01psc51.lax01.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:

    {#GUID-825961C7-50F2-45A5-B692-B8C9DAC61943__codeblock_76058974950A44B3A5B80067ACFA28F1 .pre .codeblock} cd C:\CertGenVVD-2.1

  8. Run the following command to grant PowerShell permissions to run third-party shell scripts.

    {#GUID-825961C7-50F2-45A5-B692-B8C9DAC61943__codeblock_9BD90D88B8CE477DB773FEC23B6B5B6C .pre .codeblock} 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.

    {#GUID-825961C7-50F2-45A5-B692-B8C9DAC61943__codeblock_635240B8EFFA4F3B84CA0A8CFE3E212F .pre .codeblock} .\CertgenVVD-2.1.ps1 -validate

  10. Run the following command to generate MSCA-signed certificates.

    {#GUID-825961C7-50F2-45A5-B692-B8C9DAC61943__codeblock_AB884143A0DB4F52A4764976CFAD6536 .pre .codeblock} .\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 default certificates with the certificates that the CertGenVVD utility has generated. See Replace Certificates of the Management Products in Region B.

Parent topic: Use the Certificate Generation Utility to Generate Certificates Automatically in Region B

Next topic: Additional Configuration for Intermediate Certificate Authority in Region B

results matching ""

    No results matching ""