I am trying to build a cordova windows 10 app.
I have used this article to create the pfx file:
https://docs.microsoft.com/en-gb/windows/uwp/packaging/create-certificate-package-signing
I used the publisher id from my windows developer account for the subject. e.g. "CN=1234567890........."
I added the subject and the generated thumbprint to the build.json file
I used the following command to build the app.
cordova build --release --buildconfig=build.json
I get the following error:
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(2519,5): error AP PX0107: The certificate specified is not valid for signing. For more information about valid certificates, see http://g o.microsoft.com/fwlink/?LinkID=241478. [C:............Code\platforms\windows\CordovaApp.Windows.jsproj] Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe: Command failed with exit code 1
Does anyone know what I am doing wrong?
Thanks in advance!