certutil -getreg ca\ValidityPeriod
(This returns the current value of 2)
certutil -getreg ca\ValidityPeriodUnit
(This returns the current value of Years)
certutil -setreg CA\ValidityPeriodUnits 10 certutil -setreg CA\ValidityPeriod Years net stop certsvc && net start certsvc
Björn Strausmann
Kommentare