This was supposed to be the easy part!
Using VS2008, trying to deploy my app using ClickOnce and specifically following "Creating ClickOnce Applications for Others to Deploy" at http://msdn.microsoft.com/en-us/library/bb384248.aspx(and related "Walkthrough: Manually Deploying a ClickOnce Application that Does Not Require Re-Signing and that Preserves Branding Information" at http://msdn.microsoft.com/en-us/library/bb384248.aspx)
The series of commands shown below (steps 9 & 10 of the walkthrough) result in an error from MAGE.
makecert -r -pe -n "CN=Adventure Works" -sv MyCert.pvk MyCert.cer
pvk2pfx.exe -pvk MyCert.pvk -spc MyCert.cer -pfx MyCert.pfx
mage -s sfDash.application -cf MyCert.pfx
Unable to open certificate "MyCert.pfx":
The specified network password is not correct.
The error is the same:
-
On two machines (both Win XP with both VS 2005 and VS2008).
-
With the .application and .pfxin the same work folder on a local HDD and with a short path (d:\temp\ws)
-
Whether or not my pvk is protected by a password
-
Various file names and values for CN=
I've searched, but found nothing about this error...any pointers?