pcdeveloper
Level 4

This app package is not signed with a trusted certificate.

I build MSIX project. I see error

 

This app package is not signed with a trusted certificate. Contact your system administrator or the app developer to obtain a new certificate or app package with trusted certificates. The root certificate and all immediate certificates of the signature in the app package must be trusted

 

 

e.png

How to fix it?

Labels (1)
0 Kudos
6 Replies
varul
Revenera
Revenera

Try to add the certificate manually to trusted root location and then try installing, Please follow the steps to import the certificate to trusted root.

https://community.flexera.com/t5/InstallShield-Knowledge-Base/How-to-add-certificates-to-the-Trusted...

pcdeveloper
Level 4

r.png

 

I don't see option "8. Right-click the Trusted Root Certification Authorities store" . Please guide me

0 Kudos
pcdeveloper
Level 4

I add video.

0 Kudos

First add the snap in using "Add or Remove Snap in" and select certificate then click ADD button and click OK, then

Expand trusted root folder and then expand or right on certificate folder and click on All Tasks --> Import option, Then you will be able to import the certificate pfx or cer file,

Refer attachment, 

0 Kudos
pcdeveloper
Level 4

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc...

I have a stupid question. How do I have file certification? 

What called "X.509 Certificate (*.cer,*.crt)"

cert.png

 

0 Kudos

First you should create a own test self signed certificate to test it, and then you need to add the certificate in your msix to sign your msix project (Please refer attachment for how to add signing details in msix project), then build the project and install, 

Install the same certificate to trusted root, before installing the msix project.

Please refer below link for how to create a certificate:

https://support.jetglobal.com/hc/en-us/articles/235636308-How-To-Create-a-SHA-256-Self-Signed-Certif...

https://petri.com/create-self-signed-certificate-using-powershell

http://woshub.com/how-to-create-self-signed-certificate-with-powershell/