Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, January 7, 2015 7:59 PM
On the Signing tab of a C# Project Properties page, when I select our .pfx file and enter the correct password, I get the following message:
Error importing key - Cannot find the certificate and private key for decryption
Our .pfx file works with signtool.exe.
All replies (2)
Thursday, January 8, 2015 8:13 AM ✅Answered | 1 vote
Hi MikeOtown,
How did you create the .pfx file? Is it provided by third-party?
What type of C# project are you working with? Windows Forms app?
If your pxf file is from Comodo, this blog provided some solutions for this issue:
https://support.comodo.com/index.php?/Default/Knowledgebase/Article/View/537/7/
The cause is that the .pfx file cannot include certificate chaining information. (If the .pfx file does include this information, the following import error will occur: "Cannot find the certificate and private key for decryption.")
‘Sigining Assemblies’ section in this document: http://msdn.microsoft.com/en-us/library/aa730868(v=vs.80).aspx also introduced such issue.
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Monday, January 12, 2015 2:29 AM
Hi,
If the issue still exists, please feel free to come back and provide us more information.
Thanks,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.