vsphere8_upgrade_certificate_checks.py
python script in the vCenter Server to perform ESXi upgrade precheck fails with the error:####-##-## ERROR Support for certificates with weak signature algorithms has been removed in vSphere 8.0. Weak signature algorithm certificates must be replaced before upgrade. Refer to the vSphere release notes and VMware KB 89424 for more details. Correct the following 3 issues before proceeding with upgrade.
####-##-## ERROR
####-##-##ERROR 1. Host has a configured certificate authority (CA) with subject name '/O=VMware/CN=' that has weak signature algorithm shalwithRSAEncryption. The certificate thumbprint is ##########. Cleanup vCenter Server TRUSTED ROOTS before explicitly removing certificates from the host.
####-##-## ERROR
####-##-## ERROR 2. Host has a configured certificate authority (CA) with subject name '/O=VMware/CN=' that has weak signature algorithm shalWithRSAEncryption. The certificate thumbprint is ##########. Cleanup vCenter Server TRUSTED ROOTS before explicitly removing certificates from the host.
####-##-## ERROR
####-##-## ERROR 3. Host has a configured certificate authority (CA) with subject name '/O=VMware/CN=' that has weak signature algorithm shalwithRSAEncryption. The certificate thumbprint is ##########. Cleanup vCenter Server TRUSTED ROOTS before explicitly removing certificates from the host.
NOTE:
VMware vSphere ESXi 7.0
VMware vCenter Server 7.0
vSphere 8.x does not support SHA1 certificate algorithm. Any certificate on the VCSA or ESXi using SHA1 certificate needs to be removed before upgrade.
esxcli system security certificatestore list
esxcli system security certificatestore remove --filename=<local_file>
Note: If the above steps doesn't work, consider following the below steps.
castore.pem
file in /etc/vmware/ssl
directory