I got a new Comodo code signing certificate and am trying to sign my executable using the following command:
“C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\x86\signtool” sign /fd sha256 /td sha256 /f “C:\Blah\CodeSigningCert_2018.pfx” /p myPassword /tr http://timestamp.comodoca.com/rfc3161 /v “C:\Blah\MyApp.exe”
But, that gives me the following error:
SignTool Error: An unexpected internal error has occurred.
Error information: “Error: Store::ImportCertObject() failed.” (-2146885630/0x80092002)
Searching on the internet did turn up many results for this, but, nothing pointed to a definite answer and nothing has worked for me so far.
I would appreciate any help towards fixing this.
Thank you.