When attempting to configure or edit the Microsoft Certificate Authority (MSCA) settings in the VMware Cloud Foundation (VCF) SDDC Manager (Administration > Security > Certificate Management), the task fails with the following error message in the UI:
Unable to create CA.
VCF 5.x
The SDDC Manager communicates with the Microsoft CA via the Certification Authority Web Enrollment (certsrv) interface. For this communication to be successful, SDDC Manager requires Basic Authentication to be enabled on the IIS server hosting the CA Web Enrollment pages.
The error occurs because:
The Basic Authentication Role Service is not installed on the Windows Server.
The Basic Authentication feature is not enabled for the /CertSrv virtual directory within Internet Information Services (IIS).
To resolve this issue, you must install and enable Basic Authentication on the Microsoft CA server.
Log in to the Microsoft CA Server.
Open Server Manager and navigate to Manage > Add Roles and Features.
In the wizard, proceed to Server Roles.
Expand Web Server (IIS) > Web Server > Security.
Select Basic Authentication and complete the installation.
Open the Internet Information Services (IIS) Manager.
In the left pane, navigate to [Server Name] > Sites > Default Web Site > CertSrv.
In the center "Features View," double-click Authentication.
Right-click Basic Authentication and select Enable.
(Optional but Recommended) Right-click Anonymous Authentication and select Disable to ensure explicit credential usage.
Select the Default Web Site in the left pane and click Restart in the right-hand Actions pane.
Return to the SDDC Manager UI.
Navigate back to Certificate Management and re-enter your CA details.
Ensure the URL is formatted as https://<CA-FQDN>/certsrv.
Click Save. The configuration should now complete successfully.
For any further assistance regarding enabling Basic Authentication on the Microsoft CA server please reach out to the vendor.