To develop iPhone applications using Flash Professional
CS5, you must use a P12 certificate file. You generate this certificate
based on the Apple iPhone developer certificate file you receive
from Apple.
Convert the iPhone developer certificate to a P12 file on Mac OS
Once you have downloaded the Apple iPhone
certificate from Apple, export it to the P12 certificate format.
To do this on Mac® OS:
-
Open the Keychain Access application
(in the Applications/Utilities folder).
-
If you have not already added the certificate to Keychain,
select File > Import. Then navigate to the certificate file (the
.cer file) you obtained from Apple.
-
Select the Keys category in Keychain Access.
-
Select the private key associated with your iPhone Development
Certificate.
The private key is identified by the iPhone
Developer: <First Name> <Last Name> public certificate
that is paired with it.
-
Select File > Export Items.
-
Save your key in the Personal Information Exchange (.p12)
file format.
-
You will be prompted to create a password that is used when
you attempt to import this key on another computer.
Convert an Apple developer certificate to a P12 file on Windows
To develop iPhone applications using Flash
CS5, you must use a P12 certificate file. You generate this certificate
based on the Apple iPhone developer certificate file you receive
from Apple.
-
Convert the developer certificate file
you receive from Apple into a PEM certificate file. Run the following
command-line statement from the OpenSSL bin directory:
openssl x509 -in developer_identity.cer -inform DER -out developer_identity.pem -outform PEM
-
If you are using the private key from the keychain on a Mac
computer, convert it into a PEM key:
openssl pkcs12 -nocerts -in mykey.p12 -out mykey.pem
-
You can now generate a valid P12 file, based on the key and
the PEM version of the iPhone developer certificate:
openssl pkcs12 -export -inkey mykey.key -in developer_identity.pem -out iphone_dev.p12
If
you are using a key from the Mac OS keychain, use the PEM version
you generated in the previous step. Otherwise, use the OpenSSL key
you generated earlier (on Windows).
|
|
|