I have a code signing certificate issued to me by a commercial CA, and the key was generated on my local development machine using the new Cryptography Next Generation storage providers.
Unfortunately, the Visual Studio ClickOnce manifest code signing tool only supports the older CSP/CrytoAPI keys for signing these manifests (the error I get is: "An error occurred while signing: Invalid provider type specified.").
I have the certificate currently as a .PFX file on my computer. When I use certutil to view the details of the certificate, it shows these details:
Provider = Microsoft Software Key Storage Provider ProviderType = 0
How can I change my private key/certificate from using CNG to using the older style CrytoAPI? I don't want to buy another certificate if at all possible.