Unable to configure Microsoft Certificate Authority in SDDC Manager with error message: "Unable to create CA.. Failed to fetch certificate from Microsoft CA with java.lang.IllegalStateException: AuthScheme is null."
search cancel

Unable to configure Microsoft Certificate Authority in SDDC Manager with error message: "Unable to create CA.. Failed to fetch certificate from Microsoft CA with java.lang.IllegalStateException: AuthScheme is null."

book

Article ID: 416432

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

  • SDDC Manager logs shows the following error:

    /var/log/vmware/vcf/operationsmanager/operationsmanager.log
    yyyy-mm-ddThh:mm:ss.zzz+0000 ERROR [vcf_om,<task_id>] [c.v.v.c.ca.plugin.MicrosoftCaService,http-nio-127.0.0.1-7300-exec-5] 
    Unable to retrieve Microsoft server certificate as provided host <MSCA_FQDN> is not valid/reachable.
    java.lang.RuntimeException: java.lang.IllegalStateException: AuthScheme is null
    ..
    yyyy-mm-ddThh:mm:ss.zzz+0000 ERROR [vcf_om,<task_id>] [c.v.v.c.r.a.c.v.CertificateManagementController,http-nio-127.0.0.1-7300-exec-5] Failed to create certificate authority
    com.vmware.vcf.certmgmt.common.exception.CertificateManagementException: Failed to fetch certificate from Microsoft CA with java.lang.IllegalStateException: AuthScheme is null.
    ..
    yyyy-mm-ddThh:mm:ss.zzz+0000 ERROR [vcf_om,<task_id>] [c.v.v.i.b.i.TranslationMessage,http-nio-127.0.0.1-7300-exec-5] Can't find resource for bundle java.util.PropertyResourceBundle, key CERTIFICATE_CA_CREATION_FAILED.remedy
    yyyy-mm-ddThh:mm:ss.zzz+0000 DEBUG [vcf_om,<task_id>] [c.v.e.s.e.h.LocalizableRuntimeExceptionHandler,http-nio-127.0.0.1-7300-exec-5] Handler Error Response: 
    {
        "errorCode": "CERTIFICATE_CA_CREATION_FAILED",
        "arguments": [],
        "message": "Unable to create CA.",
        "causes": [
            {
                "type": "com.vmware.vcf.certmgmt.common.exception.CertificateManagementException",
                "message": "Failed to fetch certificate from Microsoft CA with java.lang.IllegalStateException: AuthScheme is null."
            },
            {
                "type": "java.lang.RuntimeException",
                "message": "java.lang.IllegalStateException: AuthScheme is null"
            },
            {
                "type": "java.lang.IllegalStateException",
                "message": "AuthScheme is null"
            }
        ],
        "referenceToken": "<TOKEN_ID>"
    }

Environment

VMware SDDC manager 9.x
VMware SDDC manager 5.x

Cause

Basic authentication is disabled on the Microsoft Certificate Authority

Resolution

Follow the documentation below to resolve the issue: Configure the Microsoft Certificate Authority for Basic Authentication

Additional Information

Configure a Microsoft Certificate Authority in SDDC Manager