Failed to replace certificate for <vcenter_fqdn> due to: 500 Internal Server Error: "{"type":"com.vmware.vapi.std.errors.error","value": {"error_type":"ERROR","messages":[{"args":["Certificate uses an unsupported signature algorithm - SHA256withRSAandMGF1. Only SHA-2 RSA algorithms
are supported on the vCenter Server."],"default_message":"Exception found (Certificate uses an unsupported signature algorithm -
SHA256withRSAandMGF1. Only SHA-2 RSA algorithms are supported on the /Center Server.)","id":"com.vmware.certificatemanagement.error"}]}}"
INFO com.vmware.certificatemanagement.impl.tls.TlsReplace opId=] Adding intermediate certificates to MACHINE_SSL certificate.
ERROR com.vmware.certificatemanagement.impl.tls.TlsReplace opId=] Error Certificate uses an unsupported signature algorithm - SHA256withRSAandMGF1. Only SHA-2 RSA algorithms are supported on the vCenter Server.
ERROR com.vmware.certificatemanagement.impl.tls.TlsReplace opId=] TLS Certificate replacement failed : Certificate uses an unsupported signature algorithm - SHA256withRSAandMGF1. Only SHA-2 RSA algorithms are supported on the vCenter Server.
INFO com.vmware.certificatemanagement.impl.telemetry.TelemetryData opId=] Attempting VAC stats push ....
ERROR com.vmware.certificatemanagement.vapi.impl.TlsProviderImpl opId=] Exception was thrown while executing set:
com.vmware.certificatemanagement.impl.exceptions.InvalidArgumentException: Certificate uses an unsupported signature algorithm - SHA256withRSAandMGF1. Only SHA-2 RSA algorithms are supported on the vCenter Server.
VCF 9.0 , vCenter 9.0
To resolve the issue, we need to replace the vCenter certificate infrastructure from a unsupported signature scheme to the standard SHA-2 RSA signature scheme required by vCenter 9.0 security policies.