When changing certificates in vCenter Server Appliance, you can run this command to verify the changes:
/usr/sbin/vpxd_servicecfg certificate change chain.pem rui.key
When the changes are successful, this command returns output similar to:
VC_CFG_RESULT = 0
A non-zero value is returned if there are issues with the certificate change.
This article provides troubleshooting information that helps in diagnosing and decoding non-zero VC_CFG_RESULT errors that can cause the vpxd_servicecfg certificate changes to fail.