The requested validity period is invalid. Confirm that the validity period or expiration date and time specified in the request ...

The requested validity period is invalid. Confirm that the validity period or expiration date and time specified in the request does not extend beyond the validity period of the CA certificate, the certificate template, and the CA. The validity period of the CA can be verified by running the following commands: certutil -getreg ca\validityPeriod  certutil -getreg ca\ValdityPeriodUnits.