NicolaT
asked on
Error importing key, Object already exists
Hi there,
I renewed my Comodo code signing certificate and generated my pfx file from the pvk by using:
Pvk2Pfx –pvk mypvkfile.pvk –pi mypvkpassword –spc myspcfile.spc –pfx mypfxfile.pfx –po pfxpassword –f
When I used this pfx file to sign the assembly in Visual Studio I got "Error Importing Key, Cannot find the certificate and private key for decryption".
So, I followed this link
https://support.comodo.com/index.php_m=knowledgebase&_a=viewarticle&kbarticleid=1078
which created another pfx file for me which has a different name to the first pfx file in this scenario.
Now when I use this pfx file to sign the assembly I get: "Error Importing Key, Object already exists."
Any assistance with this is greatly appreciated. I had no problems using the Comodo cert last year just with this new one.
Regards,
Nicola.
I renewed my Comodo code signing certificate and generated my pfx file from the pvk by using:
Pvk2Pfx –pvk mypvkfile.pvk –pi mypvkpassword –spc myspcfile.spc –pfx mypfxfile.pfx –po pfxpassword –f
When I used this pfx file to sign the assembly in Visual Studio I got "Error Importing Key, Cannot find the certificate and private key for decryption".
So, I followed this link
https://support.comodo.com/index.php_m=knowledgebase&_a=viewarticle&kbarticleid=1078
which created another pfx file for me which has a different name to the first pfx file in this scenario.
Now when I use this pfx file to sign the assembly I get: "Error Importing Key, Object already exists."
Any assistance with this is greatly appreciated. I had no problems using the Comodo cert last year just with this new one.
Regards,
Nicola.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sorry for the late response. I was out of action there for a while. I had a look at your solution this week and it worked a treat.
Many thanks,
Nicola.