[Incident]: Some users report they are unable to access the case portal. Please see this community notice for more information.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
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 Moderator Revenera Moderator
Revenera Moderator

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-Root-Certification/ta-p/4118

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
varul
Revenera Moderator Revenera Moderator
Revenera Moderator

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/cc754489(v=ws.11)?redirectedfrom=MSDN

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

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

cert.png

 

0 Kudos
varul
Revenera Moderator Revenera Moderator
Revenera Moderator

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-Certificate

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

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