vmware-vpostgres service may fail to start after executing the "vcha-destroy -f" command, to remove the VCHA configuration from the vCenter Server./var/log/vmware/vpostgres/serverlog.stderr showed following:FATAL: could not load server certificate file "/storage/db/vpostgres_ssl/server.crt": SSL Error code 2147483650
or
FATAL: could not load server certificate file "/storage/db/vpostgres_ssl/server.crt": No such file or directory
vCenter Server 8.0 with VCHA
The issue is encountered due to missing or corrupted certificate files in the /storage/db/vpostgres_ssl/ location.
To resolve this issue validate if the server.crt and server.key file is available in the location /storage/db/vpostgres_ssl/.
/usr/lib/vmware-vmafd/bin/vecs-cli entry getcert --store MACHINE_SSL_CERT --alias __MACHINE_CERT --output /var/core/Machine_SSL.crt/usr/lib/vmware-vmafd/bin/vecs-cli entry getkey --store MACHINE_SSL_CERT --alias __MACHINE_CERT --output /var/core/Machine_SSL.keycp /var/core/Machine_SSL.crt /storage/db/vpostgres_ssl/server.crtcp /var/core/Machine_SSL.key /storage/db/vpostgres_ssl/server.key/storage/db/vpostgres_ssl/ location to have the required permissions:chmod 0600 server.crt server.keychown vpostgres:vpgmongrp server.crt server.keyservice-control --stop --all && service-control --start --all