Open utiq opened 6 years ago
Hello, did you manage to resolve your problem since then ? If yes, how ?
@learchamba You can use create-self-signed-cert
command to generate pfx file. I solved it.
Hi @purocean, I can't find any resources on create-self-signed-cert
, could you be more accurate?
@AlexandreSi Try install windows SDK.
https://github.com/microsoft/node-pty#windows
npm install --global --production windows-build-tools
You could find it in some path. Use everything search it.
I run into the same error 0x80096019
.
But I was able to fix it by following this Tutorial from Microsoft: https://docs.microsoft.com/de-de/windows/win32/appxpkg/how-to-create-a-package-signing-certificate
MakeCert /n CN=YOUR_NAME /r /h 0 /eku "1.3.6.1.5.5.7.3.3,1.3.6.1.4.1.311.10.3.13" /e "01/01/2040" /sv MyKey.pvk MyKey.cer
Pvk2Pfx /pvk MyKey.pvk /spc MyKey.cer /pfx MyKey.pfx
Creates a certificate with Publisher "CN=YOUR_NAME" valid until "01/01/2040" with no password.
I then installed the certificate in the "Trusted People" Cert-Store using the accepted answer from this stackoverflow question. https://stackoverflow.com/questions/23812471/installing-appx-without-trusted-certificate
I could create the appx file and everything went well. But when I try to install the app, this is the error I get:
error 0x80096019: Opening the package from location myapp.appx failed.
This is how I created the certificates in case the problem is related to that: