-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Hi,
I'm trying to automate building dev/test environments and we need a PKI solution.
We are using Server 2022.
I can successfully export and create using the JSON files, but when I try to use the certificate, I get the error in the image.
"The request was for a certificate template that is not supported by the Active Directory Services policy"
"The requested certificate template is not supported by this CA 0x80094800 (-2146875392 CERTSRV_E_UNSUPPORTED_CERT_TYPE)
Looking at the template in AD with ADSIEdit, I noticed the property "msPKI-RA-Application-Policies" isn't populated on the imported template. The expected value is in the JSON.
If I copy the value from the template I exported from, into the new template missing the values, the new template works.
