Extract Team ID from Apple Development Certificate | Generated by AI

Home 2026.05

Here’s the method with your info redacted:

  1. Find your signing identity:

    security find-identity -v -p codesigning

    Output: “Apple Development: ()"

  2. Extract Team ID from the certificate (OU field):

    security find-certificate -c “Apple Development: " -p \ | openssl x509 -noout -subject

    Output format: subject= /UID=/CN=Apple Development: ()/OU=/O=/C=

    The OU= value is your Team ID.

Or one-liner to extract just the Team ID:

security find-certificate -c “Apple Development” -p
| openssl x509 -noout -subject
| grep -o ‘OU=[^/]*’ | cut -d= -f2


Back Donate