Skip to content

Instantly share code, notes, and snippets.

@jankuca
Last active August 29, 2015 14:11
Show Gist options
  • Save jankuca/f5a6e20e331a20e07da9 to your computer and use it in GitHub Desktop.
Save jankuca/f5a6e20e331a20e07da9 to your computer and use it in GitHub Desktop.
# List all installed Apple Developer certificates
security find-certificate -a -c "Developer" login.keychain | grep '"labl"' | cut -d'"' -f4
# List installed .mobileprovision files
ls ~/Library/MobileDevice/Provisioning\ Profiles/
# Get plist from a .mobileprovision file
openssl smime -inform der -verify -noverify -in $mobileprovision_file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment