Any attempts to publish a custom Machine SSL certificate in vCenter release 8.0u1 or later fails
CLI - Immediately fails 0% failing to publish root certificate
vSphere UI - Internal Server Error
/var/log/vmware/vsphere-ui/logs/vsphere_client_virgo.log
YYYY-MM-DDTHH:mm-ss [tomcat-exec-6 [] WARN com.vmware.vapi.internal.bindings.ApiMethodSkeleton opId=] Implementation method reported unexpected exception: com.vmware.vapi.std.errors.Error
com.vmware.vapi.std.errors.Error: Error (com.vmware.vapi.std.errors.error) => {
messages = [LocalizableMessage (com.vmware.vapi.std.localizable_message) => {
id = com.vmware.certificatemanagement.error,
defaultMessage = Internal Server Error (Certificate bearing subject <CERTIFICATE_SUBJECT_INFO> is not a valid CA certificate. Please retry with a valid certificate chain),
args = [Certificate bearing subject <CERTIFICATE_SUBJECT_INFO>
is not a valid CA certificate. Please retry with a valid certificate chain],
params = <null>,
localized = <null>
}],
data = <null>,
errorType = ERRORVMware vCenter Server 8.x
Beginning in vCenter 8.0u1 a validation check is observed in new deployments or attempting to replace custom certificates for a 'Certificate Key Usage' attribute.
If this Certificate KeyUsage attribute is not present the certificate will not be accepted as a valid CA & certificate replacement will fail
Present Certificate Key Usage attribute:
Missing Certificate Key Usage attribute:
Certificate Sign is listed under X509v3 Key Usage.vCert.py or the vSphere Client UI.Certificates must meet the minimum requirements as outlined in Replace Machine SSL Certificate with Custom Certificate and Generate Certificate Signing Request for Machine SSL Certificate Using the vSphere Client (Custom Certificates).