BackGround: I write applications for the business where I work. I install the apps myself and they never leave the building. Hence, I couldn't care less about certificates and their provided security. I just want to simply compile and update my apps and have them install without all the security overhead hassle.
I'm using VB 2005 (but starting to use VB 2013 so the solution will need to apply there as well) and use ClickOnce installs.
In 2010 I used programs makecert.exe and pvk2pfx.exe to make my .cer, .pvk., and .pfx files. I created them on my Windows XP 32bit developement PC. I have been using the certificate to "Sign my ClickOnce Manifests" since then and it has worked fine.
Just this month I upgraded my developement PC to Windows 7 64bit. I updated a VB 2005 app and went to Publish it and got the error:
" Error 8 SignTool reported an error 'Failed to sign bin\Release\TrimPick.publish\\setup.exe. SignTool Error: ISignedCode::Sign returned error: 0x800B010A
A certificate chain could not be built to a trusted root authority.
SignTool Error: An error occurred while attempting to sign: bin\Release\TrimPick.publish\\setup.exe'. TrimPick"
So I went to my .pfx file, right-clicked it and selected "Install PFX". Then I went to my .cer file, right-clicked it and "Install Certificate". I deleted my .pfx from my project, went to project Signing and "Select from file..." my .pfx file and added it back. I tried Publishing again and still got the same error.
When I go into Signing and look at "More Details" on Cerificate "General" tab it says, "The integrity of this certificate cannot be guaranteed. The certificate may be corrupted or may have been altered.". When I look on the "Certification Path" tab the Certification status says "This certificate has an invalid digital signature.".
It is like something is not setup on my new PC correctly. How can I fix this so I can continue to publish my programs?
Any help in this matter would be greatly appreciated. Thanks