Windows error 0x80092006, -2146885626

Detailed Error Information

CRYPT_E_NO_PROVIDER[1]

MessageNo provider was specified for the store or object.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode9 (0x009)
NameFACILITY_SSPI[2][1]
DescriptionThe source of the error code is the Security API layer.[2][1]
Error Code8198 (0x2006)

Questions

6votes
5answers

SignTool Error: ISignedCode::Sign returned error: 0x80092006

I'm signing an EXE program with a certificate issued by a trusted CA. I'm using signtool.exe from the Windows SDK v6.0a. The certificate is located in the computer store and it is in the "Personals" folder. My command line is : sign /sm /n "My company" /d MyProductName /du http://my.url.com [...] read more
code-signing
3votes
1answer

SignTool error when running build through Jenkins as another user

I have an MSBuild that runs through Jenkins with signed code in one of the components. When I run the build after starting Jenkins as the same user that the visual studio project was built with originally, it works fine. When I run the project as that same user through [...] read more
msbuild
jenkins
code-signing
2votes
1answer

Code signing no longer working

We have a legacy Windows Workflow process that uses SignerSign to apply a digital signature to an EXE. We are migrating away from the Windows Workflow process, and so I have been preparing a tool within the context of our new process to perform the same signing operation. I copy/pasted [...] read more
c#
windows
digital-signature
signature
cryptoapi
1vote
1answer

SignerSign error - No provider was specified for the store or object

I am developing a c# .net 3.5 application (compiled to anycpu) I need to sign an executable. I tried to use the code in here with some modifications. I didn't search for the certificate in the store, instead I loaded it form a pfx file: var cert = new X509Certificate2("myCert.pfx", [...] read more
c#
.net
sign
signtool
0votes
1answer

SignerSignEx as the Azure WebJob

I found a brilliant use of SignerSignEx on C# here: https://stackoverflow.com/a/26372061 It works fine on the dev. machine, but on Azure WebJob you have to use something like this: X509Certificate2 cert = new X509Certificate2(certPath, certPassword, X509KeyStorageFlags.MachineKeySet | X509KeyStorageFlags.PersistKeySet | X509KeyStorageFlags.Exportable); But with X509KeyStorageFlags.MachineKeySet flag SignerSignEx returns hResult=-2146885626 (Error code 0x80092006 [...] read more
c#
azure
sign
cryptoapi
webjob

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0