When code signing an executable, the executable will be considered as from a trusted source as long as the certificate is valid (if not timestamped). I am wondering whether I can reduce this time span.
I went through the command line options of Signtool but couldn't find an option to reduce the validity time. However, that might just mean, Microsoft does not support this.
My intended usages:
for testing purposes
for demonstration purposes (developer trainings)
just an idea: Since I'm signing executables anyway, this would be a nice option to provide time-restricted demo licenses. The application would simply check itself for the validity duration.