-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error issuing certificate after creation #13
Comments
So it seems this issue is fixed here on Github two years ago, but the module on PSGallery hasn't been updated with the fix. We build our environments using Bicep pipeline and Azure Automation DSC, where modules are imported automatically from PSGallery. Would be really nice if the updated code was pushed to PSGallery ;-) |
@heinejeppesen There's been minor updates indeed. |
The issue has been fixed in commit aa7ce02 @GoateePFE would you please update the PSGallery edition? |
@GoateePFE We beg you to update the PSGallery with the latest update, pleeeeease 🙏🏼 😇 |
Hello everyone. It's been years since I looked at this. I took several hours today to get my head kinda back in the game enough to commit your pull requests and publish the changes to the PowerShell Gallery under version 1.0.1.1. Please update the module and test to see if it works as needed now. |
@msilveirabr @Geo-Ron @heinejeppesen Please see above. |
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.
The text was updated successfully, but these errors were encountered: