Quantcast
Channel: Public Key Infrastructure PowerShell module
Viewing all articles
Browse latest Browse all 729

New Post: Update the validity period of an existing CA template

$
0
0
I have a 2008 R2 CA and I setup auto enrollment for user certificates. That is working properly. However I need to be able to edit an existing CA template using Powershell.
My goal is run a script on a daily basis to update the validity period for a specific template in order that any request enrolled using that template expires on a specific date, let's say Dec 31st, 2016.
The basic script layout would be as follows.
Request Cert from CA
Compute the number of days remaining for Dec 1st 2016.
Update the CA template validaty period in Days with the days computed in the step above.
In case needed, the script can run in the CA Root server with elevated credentials

Can you confirm if this script can be developed using this PKI module?

Thanks,
M0dest0.

Viewing all articles
Browse latest Browse all 729

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>