VMware : VCSA ERROR certificate-manager ‘lstool get’ failed: 1

If you are using vCenter, you are were maybe looking to replace the default self-signed certificate with an enterprise signed-certificate for security reasons. The biggest challenge is not to forget the expiration date otherwise access to the vCenter will be blocked with errors as per below:

The process of replacing a certificate has been simplified since 6.0 version: indeed the certificate manager script takes care of everything.

However, this time I faced an error when replacing the certificate with a