• Unable to re-register the replication appliance to vCenter when vCenter/PSC certs gets changed or after Convergence.
HMS Server Error
java.lang.RuntimeException: HMS Server failed to start successfully:
at com.vmware.hms.App.main(App.java:117)
Caused by: com.vmware.vim.vmomi.client.exception.SslException: javax.net.ssl.SSLException: Certificate thumbprint mismatch, expected: FE:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:CF but encountered:9D:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:64
at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setError(ResponseImpl.java:255)
at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:56)
dr.log2020-07-26 22:16:49,923 [https-jsse-nio-0:0:0:0:0:0:0:0-8443-exec-2] ERROR com.vmware.srm.client.infrastructure.websso.WebSsoWorkflow axxxxx5-5xx5-4xx0-axx5-5xxxxxxxx3 - WebSso operation failed: com.vmware.vim.vmomi.client.exception.SslException: Failed to connect to SSO Server at https://<vcenter-fqdn>/sso-adminserver/sdk/txxxxx.local. Reason: com.vmware.vim.vmomi.core.exception.CertificateValidationException: Server certificate chain is not trusted and thumbprint verification is not configured
The ovfEnv.xml and the hms config file /opt/vmware/hms/conf/hms-configuration.xml and also the replication HMS database will not get updated with the correct PSC/vCenter SSL thumbprints.
Impact/Risks:
Please take a snapshot of replication appliance before these changes
Firstly run the lsdoctor tool.
Power down all VR SRM and VC nodes and take a snapshot.
Follow the steps in this article. Using the 'lsdoctor' Tool
root@dxxxxxxx1 [ ~ ]# openssl s_client -connect <vcenter-fqdn>:443 2>/dev/null | openssl x509 -noout -fingerprint -sha256SHA256 Fingerprint=8D:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:92ovfEnv.xml and the hms config file /opt/vmware/hms/conf/hms-configuration.xml and also the replication HMS database.vrmsdb=# select * from vmomiserverentity;vrmsdb=# select * from localvcentity;Example:-vrmsdb=# update vmomiserverentity set thumbprint='7A:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:AA' where dbid=X;vrmsdb=# update localvcentity set thumbprint='31:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:DA' where dbid=X;