Use the VMware Validated Design Certificate Generation Utility (CertGenVVD) to generate with a single operation certificates that are signed by the Microsoft certificate authority (MSCA) for all management product.
About this task
For complete information about the VMware Validated Design Certificate Generation Utility, see VMware Knowledge Base article 2146215.
Procedure
- Log in to a Windows Server 2012 host that has access to the data center as AD administrator and is part of rainpole.local domain.
- Download and extract the Certificate Generation Utility from VMware Knowledge Base article 2146215.
- Open the VMware Knowledge Base article in a Web browser.
- Extract CertGenVVD-version.zip to the C: drive.
- In the c:\CertGenVVD-version folder, open the default.txt file in a text editor.
- Verify that following properties are configured.
ORG=Rainpole Inc.
OU=Rainpole.local
LOC=SFO
ST=CA
CC=US
CN=VMware_VVD
keysize=2048
- Verify that only the following files are available in the c:\CertGenVVD-version\ConfigFiles folder.
Hostnames or Services |
Configuration Files |
SFO01 Plaform Services Controller
SFO01 vCenter Server
SFO01 NSX Manager
SFO01 VDP
|
SFO01 Plaform Services Controller
SFO01 vCenter Server
SFO01 NSX Manager
SFO01 VDP
|
SFO01 CMP vRealized Automation
vra01svr01.rainpole.local
vra01svr01a.rainpole.local
vra01iws01.rainpole.local
vra01iws01a.rainpole.local
vra01ims01.rainpole.local
vra01ims01a.rainpole.local
SFO01 CMP vRealized Business Server
|
SFO01 CMP vRealized Automation
SFO01 CMP vRealized Business Server
|
SFO01 Operations vRealize Operation
SFO01 Operations vRealize Log Insight
|
SFO01 Operations vRealize Operation
SFO01 Operations vRealize Log Insight
|
- Please verify each configuration file includes FQDN and hostnames of its corsponding column.
- An example of sfo01psc01.txt configuration file is listed below
sfo01psc01.txt |
[CERT] NAME=default ORG=default OU=default LOC=SFO ST=default CC=default CN=sfo01psc01.sfo01.rainpole.local keysize=default [SAN] sfo01psc01 sfo01w01psc01 sfo01psc01.sfo01.rainpole.local sfo01w01psc01.sfo01.rainpole.local |
- Open a Windows PowerShell prompt and navigate to the c:\CertGenVVD-version folder.
- Run the following command to grant PowerShell permissions to run third -party shell scripts.
Set-ExecutionPolicy Unrestricted
- Run the following command to validate the prerequisites for running the utility.
Verify that VMware is included in the available CA Template Policy.
.\CertgenVVD-version.ps1 -validate
- Run the following command to generate MSCA-signed certificates.
.\CertGenVVD-version.ps1 -MSCASigned -attrib 'CertificateTemplate:VMware'
- In the c:\CertGenVVD-version folder, verify that the utility created the SignedByMSCACerts sub-folder.
What to do next
Replace the default product certificates with the certificates that the CertGenVVD utility has generated at deployment time or later if a certificate expires.