Failed to initialize VC client","error":"Post \"https://vCenter.example.com/sdk\": tls: failed to verify certificate: x509: certificate signed by unknown authority.
8.0
The snapservice container does not trust the vCenter Server’s SSL certificate chain because the necessary root and intermediate CA certificates are missing from its internal trusted store. When the container tries to establish an HTTPS connection to vCenter, it cannot validate the server’s certificate chain. The resulting TLS failure causes the service process to exit, which in turn triggers the Docker restart policy.
curl -k -O https://<vCenter_FQDN>/certs/download.zip
unzip download.zip certs/lin/*.0
.0
files from the certs/lin
folder into the snapservice trust directory:cp certs/lin/*.0 /etc/ssl/certs/snapservice/
chown snapservice:snapservice
docker ps