error 0x8007000B: The app manifest publisher name (CN=563776A1-7D2D-4E8E-AFE2-XXXXXX) must match the subject name of the signing certificate (CN=anton). I have searched all over the web and I get answer such as "you have to make sure that the Publisher name (in the AppxManifest.xml file) is the same as the certificate's publisher." but no explanation of how to do it. I have checked all my files and they all have the same publisher name so what is the problem?
As the error says, the
Publisher (in the manifest) must match the
Subject of the certificate used to sign your application. If you are developing in Visual Studio and just trying to run / install the app locally, you will get a temporary key with your name (like
"CN=anton") - just make sure the
Publisher in the AppX manifest matches this name.
<Identity Name="NameOfTheApp" Publisher="CN=MustMatchWhatsInYourCertificate" Version="22.214.171.124" />
If you get the app signed by the Store, or by some other certificate for broader distribution, you need to make sure the names match. You can see the
Subject of any certificate by running
certutil (just press enter for the password if it's the temporary VS certificate):
c:\> certutil -dump ProjectName_TemporaryKey.pfx Enter PFX password: ================ Certificate 0 ================ ================ Begin Nesting Level 1 ================ Element 0: Serial Number: <blah> Issuer: CN=Peter NotBefore: 12/13/2018 2:02 PM NotAfter: 12/13/2019 8:02 PM Subject: CN=Peter <====================================================== Here Signature matches Public Key Root Certificate: Subject matches Issuer Cert Hash(sha1): <bla>
User contributions licensed under CC BY-SA 3.0