-
Notifications
You must be signed in to change notification settings - Fork 8
Keeps failing on the creation of the CNAME record in the InstallSubCA Action #43
Comments
Manually creating the PKI record or naming the SubCA "PKI" seems to resolve this. |
What is the error it get when it tries to create the record. There should be something in CW logs. The reason to use an CNAME is if you decide to move you CRL you do not have to re-issue all of your certs since the CRL location is part of the cert. I would like to troubleshoot this instead of removing it. |
I should comment out the Exit 1. That way if the record is not there. it will still proceed and not fails the whole deployment. |
That actually makes sense - never re-named a CA so never came across that issue. Not sure what failed. This was a pretty fresh deployment into an existing VPC with Directory Service configured. Simply creating the DNS record (or naming the server PKI) fixed the issue. This is what was in the SSM Automation step output.
|
Thanks for following up btw! |
I created a pull request to address this with your recommendations. |
Why even create the CNAME?
Also I would recommend using CIMSessions for creating DNS records on remote DNS servers. May submit a pull request. But this step seems totally unnecessary and is causing the deployment to fail.
The text was updated successfully, but these errors were encountered: