Get bundle id from p12/pem file
问题 Is it possible to get application's bundle id from p12/pem file for APNS? I have a system where user can upload his push certificate (p12 or pem) and would be great to show him an info about bundle id so user will be able to check what he uploaded 回答1: I'm not sure whether it's 100% helpful but you can use command line tool from openssl library in the following manner openssl pkcs12 -info -in mycert.p12 -passin pass:MyCertPassPhrase this will produce the output you can parse MAC Iteration 1