I create a X.509 certificate using makecert.exe. And then I find the validity period of the certificate is from 2016/11/1 to 2040/01/01.
How to set the end of the validity period?
I find MakeCert.exe includes a basic options can solve this problem. For example:
makecert -e 12/31/2080
-e DateEnd
type in mm/dd/yyyy
Date when the validity period ends. The default is the year 2039.