vCenter 8.0 Upgrade Fails Due to SHA1 Signature Algorithm in ESXi certificate chain when ESXi using custom CA certs
search cancel

vCenter 8.0 Upgrade Fails Due to SHA1 Signature Algorithm in ESXi certificate chain when ESXi using custom CA certs

book

Article ID: 399843

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

When using default "vmca" certificate mode, vCenter Server pushes its own Trusted Root certificates ("TRUSTED_ROOTS") to the ESXi Certificate Store. However, each ESXi host may have additional certificates added manually as well. If the ESXi Certificate Store contains a certificate with a weak digital signature (SHA1), then the certificate needs to be removed, and can be done using "esxcli".

Environment

vSphere ESXi 7.0

vSphere ESXi 8.0

Cause

vSphere 8 does not support SHA1 certificate algorithm. Any certs on the VCSA using SHA1 need to be removed before upgrade.

Resolution

The currently configured certificates can be listed with the following command.

esxcli system security certificatestore list

Certificates can be removed with the following command.

esxcli system security certificatestore remove

OR

esxcli system security certificatestore remove --filename=<local_file>


Note
: If this doesn't work, consider editing the castore.pem file in /etc/vmware/ssl directory and removing the SHA1 certificate directly and save it then it should be removed.

Note that esxcli commands can also be accessed using PowerCLI.

Additional Information