2

Client purchased a code-signing certificate, and it came with a .pvk file and a .spc file. I am familiar with the .pvk file, but Visual Studio doesn't recognize the .spc file.

When I try to load the .spc file as the ClickOnce Certificate, a message box says "The selected file does not contain a private key. You must choose a certificate that contains a private key."

Did the client buy the wrong thing, or am I not in the right spot?

1 Answer 1

1

Google is your friend.

http://jcsearch.com/blogs/PCTechSupport/312

1
  • 2
    This tutorial doesn't fill you in 100%, a few more googles will find the full answer, but for simplicity's sake, here it is: there are two other flags you need to call when exporting to the pfx file: pvkimprt -import –pfx c:\codesign\mycert.spc c:\codesign\mycert.pvk Oct 7, 2010 at 13:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.