Step 3: Extract PEM-Formatted Certificates From Bundle
# This command extracts the certificates from the bundle into a separate
# file, iosCerts.PEM, containing only the PEM-formatted certificates from the bundle.
openssl pkcs7 -inform DER -print_certs -outform PEM < iosBundleBodyVerified.p7b \
|grep -v 'subject=' |grep -v 'issuer=' |sed '/^$/d' > iosCerts.PEM