I am trying to test certificate validation logic in an installer. I have a test domain with Active Directory Certificate Services installed. Both the domain controller and CertServ are base installations with minimal configuration. Is there a way to control the expiration date of a certificate when requesting a certificate? Ideally I would like issue a certificates that expire today, tomorrow and yesterday(already expired)
6,299 13 13 silver badges 35 35 bronze badges asked Oct 12, 2016 at 19:12 Aaron Carlson Aaron Carlson 133 1 1 silver badge 8 8 bronze badgesIn ADCS You can change the validity period in the certificate templates. I suggest you duplicate a template and then go to the properties / general tab and you will see an option for validity period.
This only affects certificates that are issued after the change. Validity periods of previously issued certs will not change
answered Oct 12, 2016 at 19:23 Mass Nerder Mass Nerder 1,027 5 5 silver badges 6 6 bronze badgesTo subscribe to this RSS feed, copy and paste this URL into your RSS reader.
Site design / logo © 2024 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2024.9.2.14718