Retrieve certificate expiration date from an .ipa file?

后端 未结 1 360
别那么骄傲
别那么骄傲 2021-02-04 06:01

I know how to view the expiration date of an .ipa file\'s provisioning profile (by renaming the ipa to zip, then unzip it and view the ExpirationDate key in the embedded.mobilep

相关标签:
1条回答
  • 2021-02-04 06:47

    Do the following:

    unzip -q MyApp.ipa
    $ codesign -d --extract-certificates Payload/*.app
    $ openssl x509 -inform DER -in codesign0 -noout -nameopt -oneline -dates
    

    After doing the above, you will get output with:

    notAfter=Aug 4 16:08:00 2017 GMT

    This is the certificate expiration date.

    0 讨论(0)
提交回复
热议问题