- Open Certificate Keychain
- Keychain Access -> Certificate Assistant -> Request a Certificate From a Certificate Authority -> Continue
- Enter Email Address, Common Name and save request to disk.
- Go to Apple Developer Console
- Go to Certificates, Identifiers and Profiles
- Click + sign to add a new certificate
- Select iOS Distribution (App Store and Ad Hoc) - Continue
- Upload the CSR created in the first step.
- open the .cer file and export the p12 from the keychain