REPLACE_CERTIFICATE fails, and logs indicate the SDDC Manager cannot process the response from the Microsoft CA./var/log/vmware/vcf/operationsmanager/operationsmanager.log
certificate.generation.failedcom.vmware.vrealize.lcm.plugin.common.vrops.exceptions.CertificateGenericException: Unable to generate Certificate using an existing CSRFailed to convert certificate from pkcs7 to pem encodingcurl.VCF 9.x
The Microsoft CA Web Enrollment service (IIS) is not configured to correctly execute ASP scripts. When queried for a certificate, the web server returns the ASP script code as text instead of executing it and returning the certificate chain.
aspnet_regiis -icurl -kI 'https://<CA_HOST>/certsrv/certnew.p7b?ReqID=CACert&Enc=b64' -u '<USER>:<PASSWORD>'Ensure IIS roles for the Microsoft CA are properly configured before attempting the automated workflow again.