This article explains how to replace HCX Manager 443 UI certificate with a Custom Certificate Authority (CA) signed certificate.
VMware HCX
Custom Certificate Authority
admin.su - and providing the root password.mkdir cert
Insert' key to update cfg file.cd cert
vi hcxcert.cfg
hcxcert.cfg file and customize everything highlighted in RED as per your environment details.default_bits = 4096' in the below cfg file. default_bits = 2048'[ req ]default_bits = 2048distinguished_name = req_distinguished_nameencrypt_key = noprompt = nostring_mask = nombstrreq_extensions = v3_req
[ v3_req ]basicConstraints = CA:FALSEkeyUsage = digitalSignature, keyEncipherment, dataEnciphermentextendedKeyUsage = serverAuth, clientAuthsubjectAltName = DNS:HCX_Manager_FQDN, IP:HCX_IP
[ req_distinguished_name ]countryName = INstateOrProvinceName = KAlocalityName = Blr0.organizationName = VMwareorganizationalUnitName = VCFcommonName = HCX_Manager_FQDN
Press "Esc" then type ":wq!" and press "Enter" openssl req -new -nodes -out hcxcert.csr -keyout hcxcert.key -config hcxcert.cfg
cat hcxcert.csr’ on the HCX SSH session.root@hcx [ ~/cert ]# cat hcxcert.csr
-----BEGIN CERTIFICATE REQUEST-----
<...>
-----END CERTIFICATE REQUEST-----
hcxcert.csr to your Certificate Authority [CA] to generate a Custom SSL Certificate. Copy content of "hcxcert.key" to a notepad as you will need it later on point 9.Leaf/Server->Intermediate->Root.