I'm using signtool to sign my exe and dll files. For testing purposes, I want to find the way to do it using an expired certificate. Is it possible? If not possible with signtool I can also use another tool. Btw. I don't want to change my system date, because later I want to try with adding a timestamp.
This is the command along with the parameters used with signTool to sign my file:
signTool sign /f expiredCert.pfx /p "pass" /v test.dll
in result I get:
SignTool Error: No certificates were found that met all the given criteria.