The VLSR Reconfigure task fails citing a thumbprint mismatch.
Reconfigure reports following error:
The srm-server service is stopped on the VLSR appliance.
Due to this the VLSR can no longer authenticate with the vCenter.
The VLSR /opt/vmware/support/logs/srm/vmware-dr.log throws below error:
YYYY-MM-DDTHH:MM:SS.SSS +08:00 warning vmware-dr[01374] [SRM@6876 sub-Default connID=1kp-####] StubExcTranslator : Error while calling stub for 'lookup.ServiceInstance:ServiceInstance'--> N7Vmacore3Ssl18SSLVerifyExceptionE SSL Exception: Verification parameters:--> PeerThumbprint: #:#:#:#:#:#:#:#:#:#:#:#: #:#:#:#:#:#:#:#:#:#:#:#: #:#:#:#:#:#:#:#:#:#:#:#:# --> ExpectedThumbprint: #:#:#:#:#:#:#:#:#:#:#:#: #:#:#:#:#:#:#:#:#:#:#:#: #:#:#:#:#:#:#:#:#:#:#:#:# --> ExpectedPeerName: {vcenter fqdn}This can happen if the VLSR appliance is not reconfigured after a change of the vCenter certificate.
Steps to resolve this issue:
Identify the new vCenter certificate thumbprint. Replace the 'vc-fqdn' in this command and run on VLSR SSH session.
# echo | openssl s_client -connect vc-fqdn:443 2>/dev/null | openssl x509 -noout -fingerprint -sha2561. The lsppThumbprint parameter in /opt/vmware/dr-client/lib/h5dr.properties:
# grep -i lsppThumbprint /opt/vmware/dr-client/lib/h5dr.properties
2. The thumbprint value in the VLSR database table pd_sslthumbprintstore. Replace 'vc-fqdn' in the below command:
# echo "SELECT db_id, thumbprint,endpointurl,serviceid from pd_sslthumbprintstore where endpointurl like '%vc-fqdn%';" | /opt/vmware/vpostgres/current/bin/psql -U srmdb
cp /opt/vmware/dr-client/lib/h5dr.properties /opt/vmware/dr-client/lib/h5dr.properties.bak# echo "SELECT db_id, thumbprint,endpointurl,serviceid from pd_sslthumbprintstore where endpointurl like '%vc-fqdn%';" | /opt/vmware/vpostgres/current/bin/psql -U srmdb
If the reconfigure fails or if in step 6 it is verified that the pd_sslthumbprintstore is not updated with the new vCenter thumbprint - Enter SQL mode in the VLSR SSH:
Run this command to enter into srmdb: /opt/vmware/vpostgres/current/bin/psql -U srmdb
Next, list the vCenter entries along with the current thumbprint information in pd_sslthumbprintstore table: srmdb=> select thumbprint from pd_sslthumbprintstore where endpointurl like '%vc-fqdn%';
Update the pd_sslthumbprintstore table entries for the vCenter with the new vCenter thumbprint from step 1: srmdb=> update pd_sslthumbprintstore set thumbprint='#:#:#:#:#:#:#:#:#.....' where endpointurl like '%vc-fqdn%';
Validate the change using query: srmdb=> select thumbprint from pd_sslthumbprintstore where endpointurl like '%vc-fqdn%';
Exit the database using: Ctrl+D
The reconfigure task should now be successful and the issue should be resolved.