Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Generating P12 files on Windows

From: Flash Professional CS5 New Features

Video: Generating P12 files on Windows

In this movie, we'll look at generating a P12 file on Windows. Before you start doing anything, you'll need to download and install OpenSSL. If you go to openssl.org/related/binaries.html, you'll find a link to download OpenSSL. I'll click that link now. At this link, I can scroll down and find links to download OpenSSL and another application that you may have to install called Visual C++ 2008 Redistributables.

Generating P12 files on Windows

In this movie, we'll look at generating a P12 file on Windows. Before you start doing anything, you'll need to download and install OpenSSL. If you go to openssl.org/related/binaries.html, you'll find a link to download OpenSSL. I'll click that link now. At this link, I can scroll down and find links to download OpenSSL and another application that you may have to install called Visual C++ 2008 Redistributables.

If you try to install OpenSSL and you get a warning that you should have this file as well, make sure to install that. And of course, before you install these applications, make sure you read through the terms and conditions and that you feel comfortable installing those applications on your machine. When I installed OpenSSL, I installed it to my root directory in my C drive, and then I was prompted to install some additional files, and I chose to install those files in the bin directory. So, once you have OpenSSL installed, the next step is to launch your command line. So, I'm going to the Start menu, and then I'll search for cmd.

The command line app is then selected, so I'll press Enter on my keyboard to launch it. If you don't have any experience using the command line, don't worry. I'll walk you through each part of this, step-by-step. So the first step is to change the directory to the OpenSSL's bin directory. So, type cd C:\OpenSSL\bin and press Enter on the keyboard.

Now, we've changed the directory. The next step is to create a private key. To do that, type the following command, openssl genrsa -out mykey.key 2048, and press Enter on the keyboard. Now, we'll create the Certificate Signing Request. So, type the following command, openssl req -new -key mykey.key -out CertificateSigningRequest. certSigningRequest -subj "/e-mailAddress= and then type your e-mail address for your Apple Developer account.

Then type, CN=. Now type your name, and this should be your name as it is in your iPhone Developer account. So, mine is Todd Perkins and a comma and a space. C that stands for country and equal sign and then your country's ID. Mine is just US. Close quote. And then press Enter to run the command, and it looks like the Certificate Signing Request was created successfully, since I don't have any errors. So I'm going to go over to the Apple Developer Center, and I've logged into the Developer Program Portal, and I've clicked the Certificates link, so I'll go to the Request Certificate button.

I'll scroll down. Following the instructions, I'll click the Browse button. I'll find the CertificateSigningRequest file. It's actually in the bin directory, in OpenSSL. I'll click Open and then click Submit. So, I've sent the request to Apple, and it's waiting my approval. So, I will click Approve, and now it says Pending Issuance. I can actually refresh the page once or twice, and it should be issued by then. And now, before you download the file, make sure you download and install the WWDR intermediate certificate.

Here is the link to do that. So, once that's installed, click the Download button to download your certificate file. So, I'm going to Save this File. I'll drop this into my OpenSSL/bin directory. So I'll just drag and drop that Developer Identity File there. So, now I have the certificate from Apple. The next step is to turn that certificate into a P12 file. So again, we'll do that using the command line.

So, I'll scroll down, and I'll type the following command. openssl x509 -in developer_ identity.cer -inform DER -out developer_identity.pem -outform PEM.

This will create a PEM file, which we can then use to create a P12 file. Keep in mind, as I'm writing down all these file names, these are just the default file names. So, if you have ever changed any of the file names, you'll have to make sure to change your code from mine when you're in the command line. I'll press Enter to run the command, and then finally, we'll create the P12 key by typing openssl pkcs12 -export -inkey mykey.key -in developer_identity.pem -out iphone_dev.p12.

Press Enter to run the command, and then you'll have to enter an Export Password. So, you're connecting this password with your P12 file. Remember this password, because Flash is going to ask you for it later. So, I'm going to enter my password here. Then you'll be asked to Verify the Password. So, I'll verify my Password, press Enter and the P12 file is created. You can see that in the bin folder, inside of your OpenSSL folder. So, I have my iphone_dev file right here, and this is the P12 file that Flash was asking for.

So, following these steps, you can generate that P12 file that Flash needs, so you can create an iPhone App using Flash on Windows. So, if you follow these steps, you'll have the P12 file that you'll need to create iPhone Applications, using Flash on Windows.

Show transcript

This video is part of

Image for Flash Professional CS5 New Features
Flash Professional CS5 New Features

27 video lessons · 11811 viewers

Todd Perkins
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Flash Professional CS5 New Features.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.