I purchased an authenticode certificate from a well known provider.
Now I want to strong name an assembly and later on digitally sign it.
This is what I've done so far:
The idea is to disable delay signing on the team build and provide the keypair.pfx file there. This way, I can fully sign the assembly on the team build server that has restricted access while not providing the private key on the dev boxes for security reasons.
However, when trying to build the assembly locally, I get the following error:
Cryptographic failure while signing assembly '.dll' – 'Bad Version of Provider'
Does anyone have a solution for this?
I got a reply from Comodo:
There's problem with VS2005/2008 and authenticode certificates. (Microsoft level) They can't be used for Strong Named Assemblies. You have to create your own private key to do the strong name signing.