Certificate is shipped alongside released binaries. It can expire. Following steps can be used to renew the certificate.
It is just a development certificate, so anyone can renew it (see Create a certificate for package signing) and re-sign the app package (see Sign an app package using SignTool).
-
Install Windows SDK, version 10.0.18362.1. It should be available under this link: https://go.microsoft.com/fwlink/?linkid=2083338. Its
signtool.exe
will be used below. Note that "Windows SDK for Desktop x86 Apps" workload needs to be installed. -
Download your chosen release, i.e.,
ipasim-build-v*.zip
. -
Extract it and navigate to folder with the package (
.msix
file). -
Open elevated PowerShell in that folder.
-
Replace path to
signtool
depending on your installed Windows SDK in the following script (3rd line) and then execute it:$cert = New-SelfSignedCertificate -Type Custom -Subject "CN=jjone" -KeyUsage DigitalSignature -FriendlyName "ipaSim" -CertStore Cert:\CurrentUser\My\ -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.3", "2.5.29.19={text}") Export-PfxCertificate -cert $cert -FilePath key.pfx -Password $(ConvertTo-SecureString -String "ipaSim" -Force -AsPlainText) & 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\signtool.exe' sign /fd sha256 /a /f key.pfx /p ipaSim .\IpaSimApp_*.msix Remove-Item key.pfx Export-Certificate -Cert $cert -FilePath (Get-ChildItem .\IpaSimApp_*.cer).name Remove-Item $cert.PSPath
-
The certificate (
.cer
file) should be renewed and the app package (.msix
file) signed. You can now install the app by executing./Add-AppDevPackage.ps1
as usual.