I would like to create a temporary certificate (needed to build the metro application) on the command line. I tried to do this using CMD:
makecert.exe -n "CN=MY_DOMAIN" -r -a sha1 -sv MY_DOMAIN.pvk MY_DOMAIN.cer –ss root pvk2pfx -pvk MY_DOMAIN.pvk -spc MY_DOMAIN.cer -pfx MY_DOMAIN.pfx
But when I have this pfx file in my project, I have the following error:
C: \ Program Files (X86) \ MSBuild \ Microsoft \ VisualStudio \ v11.0 \ AppxPackage \ Microsoft.AppXPackage.Targets (1142.9): error: APPX0107: The specified certificate is not valid for signing.
source share