Coder Social home page Coder Social logo

The certificate is due about ipasim HOT 2 CLOSED

ipasimulator avatar ipasimulator commented on August 16, 2024
The certificate is due

from ipasim.

Comments (2)

Jimmy2004 avatar Jimmy2004 commented on August 16, 2024

Powershell says that it cannot be installed because of the *.cer file has some issues.

from ipasim.

jjonescz avatar jjonescz commented on August 16, 2024

This is just a development certificate, you can renew it yourself (see Create a certificate for package signing) and re-sign the app package (see Sign an app package using SignTool).

I have updated the latest release to include the renewed certificate.

Alternatively, you can follow these steps to renew the certificate yourself:

  1. Download your chosen release, i.e., ipasim-build-v*.zip.
  2. Extract it and navigate to folder with the package (.msix file).
  3. Open elevated PowerShell in that folder.
  4. 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
  5. 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.

from ipasim.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.