Skip to content

Error issuing certificate after creationΒ #13

@heinejeppesen

Description

@heinejeppesen

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.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions