Update MPOS.exe Certificate without Doing build Project/ Build Code
In my case, there is customization in MPOS and the Certificate Expires on Production the user uses the app by updating the machine date on some Pervious date for a Temporary time Period and needs some solution.
For the Solution to this problem, we need three Things.
1. MPOS Installer
2. Certificate
3. Signtool
First, you have to install Certificate on Machine or Import from Trusted Root Certification Authorities
You have to go ModernPos.msix folder.
Path: C:\Program Files\Microsoft Dynamics 365\10.0\Commerce Modern POS\Extensions\ModernPos.Installer
copy and paste into signtool directory.
path: C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64
Run Command:
'C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\signtool.exe' sign /fd sha256 /a /f .\YourApp_1.0.0.0_Win32.msix
you have to just change the name of the app.msix
sha256 is the key for Encryption
it will give you the new installer on the current Directory
if you have the password on the certificate you have to use the following command.
'C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\signtool.exe' sign /fd sha256 /a /f key.pfx /p pwd .\YourApp_1.0.0.0_Win32.msix
Ref: https://janjones.me/posts/renew-certificate-uwp-msix-appx/#renewing-certificate
Comments
Post a Comment