Some potential enhancements for the ROOTCA script. This is more for when a resource is created for the advanced cert config and thoughts to consider when putting it together.
Would be nice to break that out into an array instead.
Also, %3, may want to make that a little cleaner as well. Something without spaces maybe. For example, instead of
CACommonName = 'My Root Certificate Authority' which would make
C:\Windows\system32\CertSrv\CertEnroll\My Root Certificate Authority%8%9.crl, it might be good to do something like
Now that this PR is through (and will be released later this week) I'll be able to convert the DSC configs to use it and implement your recommendations more easily.
Some potential enhancements for the ROOTCA script. This is more for when a resource is created for the advanced cert config and thoughts to consider when putting it together.
Would be nice to break that out into an array instead.
Also,
%3
, may want to make that a little cleaner as well. Something without spaces maybe. For example, instead ofCACommonName = 'My Root Certificate Authority'
which would makeC:\Windows\system32\CertSrv\CertEnroll\My Root Certificate Authority%8%9.crl
, it might be good to do something likeC:\Windows\system32\CertSrv\CertEnroll\My_Root_Certificate_Authority%8%9.crl
Something to think about.