Previous MACHINE_SSL_CERT Subject Alternative Name does not match new MACHINE_SSL_CERTIFICATE Subject Alternative Name
certificate-manager.log
file, you will see entries similar to:2017-05-18T18:47:26.132Z INFO certificate-manager MACHINE_SSL_CERT certificate replaced successfully. SerialNumber and Thumbprint changed.
2017-05-18T18:47:26.545Z ERROR certificate-manager Previous MACHINE_SSL_CERT Subject Alternative Name does not match new MACHINE_SSL_CERTIFICATE Subject Alternative Name
2017-05-18T18:47:26.545Z INFO certificate-manager Performing rollback of Machine SSL Cert...
C:\ProgramData\VMware\vCenterServer\logs\vmca\certificate-manager.log
/var/log/vmware/vmcad/certificate-manager.log
Old certificate SAN:
IP Address=10.10.10.122
DNS Name=vcenter65.example.com
New certificate SAN:
IP Address=10.10.10.123
DNS Name=VCENTER65.example.com
DNS Name=vcenter65
email=admin@example.com
This issue is resolved in below vCenter Server builds :
Regenerate the certificate with the same case and values as the old Machine SSL Certificate.
This issue can happen on the builds mentioned in the above Resolution section as well, if the new Machine SSL Certificate does not contain the PNID in the SAN field. Regenerate the certificate with correct PNID in the SAN field to resolve the issue. Refer to Related Information in this article to verify the PNID and Subject Alternate Names.
/usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost
C:\Program Files\VMware\vCenter Server\vmafdd\vmafd-cli get-pnid --server-name localhost
/usr/lib/vmware-vmafd/bin/vecs-cli entry list --store MACHINE_SSL_CERT --text | grep -A1 Alternative
C:\Program Files\VMware\vCenter Server\vmafdd\vecs-cli entry list --store MACHINE_SSL_CERT --text
openssl x509 -in <path_to_certificate_file> -noout -text | grep -A1 Alternative
For example:openssl x509 -in mycert.crt -noout -text | grep -A1 Alternative
X509v3 Subject Alternative Name:
DNS:myserver.example.com, DNS:myserver