Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SignTool unexepected internal error

I am running SignTool with the following command: signtool sign /f keyfile.pfx /p mypassword pathToMsiFile.msi and i get the following error:

SignTool Error: An unexpected internal error has occurred. Error information: "Error: Store::ImportCertObject() failed." (-2146893792/0x80090020)

It worked just until a day ago, and i have no idea what might have changed...

Any ideas would be great, thanks!


I managed to fix it. Apperantly the user was corrupted.

after fixing the user using this KB from microsoft everything became right again.

like image 212
ravyoli Avatar asked Jul 19 '11 08:07

ravyoli


2 Answers

I had the same issue but only when I'm trying to sign it under IIS/PHP script. When I run PHP from the console it's OK. And here there were no issue with account. Only one thing helped me - changing Anonymous Authentication Credentials for Site/application from Specific USER to Application pool identity.

like image 91
DevAnimal Avatar answered Sep 28 '22 04:09

DevAnimal


I managed to fix it. Apperantly the user was corrupted.

after fixing the user using this KB from microsoft everything became right again.

like image 31
ravyoli Avatar answered Sep 28 '22 04:09

ravyoli