In certain situations you must enter an IP address, and in other situations you
must enter a hostname. And in some cases, it doesn't matter. You can determine
the appropriate value by inspecting the serving certificate of your vCenter
server.
Download the serving certificate of your vCenter server, and save it to a file
named vcenter.pem:
Replace VCENTER_IP with the IP address of your
vCenter Server.
Open the certificate file to see the Subject Common Name and the Subject
Alternative Name:
openssl x509 -in vcenter.pem -text -noout
The output shows the Subject Common Name (CN). This might be an IP address, or
it might be a hostname. For example:
Subject: ... CN = 203.0.113.100
Subject: ... CN = my-host.my-domain.example
The output might also include one or more DNS names under
Subject Alternative Name:
X509v3 Subject Alternative Name:
DNS:vcenter.my-domain.example
Choose the Subject Common Name or one of the DNS names under
Subject Alternative Name to use as the value of the vCenter server address
in your configuration file. For example:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["This guide explains how to determine the correct vCenter server address to use in Google Distributed Cloud configuration files, such as admin workstation, admin cluster, and user cluster configuration files."],["The appropriate value for the vCenter server address can be an IP address or a hostname, depending on the specifics of your vCenter server's configuration, which can be determined by inspecting the serving certificate of your vCenter server."],["To find the correct value, you will download your vCenter server's serving certificate and then use OpenSSL to examine the certificate's Subject Common Name and Subject Alternative Name fields."],["The correct vCenter server address is either the Subject Common Name (CN) or one of the DNS names listed under Subject Alternative Name in the vCenter server certificate."]]],[]]