Generate CSR For Iphone App in Windows

Feb 16, 2011 @ 12:28 pm by HackingManual

How to Generate CSR (Certificate Signing Request) For Itunes Developer to create a Development or Production Certificate in Windows.

As you may know the Itunes developer site only gives directions on creating a CSR in MAC OS. Here are the instructions to do it in windows.

You’ll Need to Download OpenSSL Light and the  Redistributables. The Redistributables usually need to be installed first but if you already have them they might not be needed. OpenSSL will let you know whether you need them when you try to install.

Win32 OpenSSL v1.0.0c Light

Visual C++ 2008 Redistributables

Now go to your command prompt, and copy/paste in the following lines.  You can paste in the command prompt just by right clicking.

CD C:/openssl-win32/bin

openssl genrsa -out mykey.key 2048

keep the command prompt open and go to notepad or word really quick and paste this in.

openssl req -new -key mykey.key -out CertificateSigningRequest.certSigningRequest  -subj “/, CN=John, C=US”

Email Address- Use the email address tied to your Itunes Developer Admin Account

CN- Can be anything I believe. Apple gives the example of John Doe Dev Key. I personally like to avoid all the spaces in order for less command promt trouble.

Now you have your private key and your certificate. You can find them in C:/openssl-win32/bin

The two files I would copy/paste out of there are CertificateSigningRequest, and mykey. Now you can go to apple and upload the CSR and instantly your certificate is created and you can download.

I did notice that loading the CSR in appeared to get stuck sometimes. I just hit cancel and re uploaded it until it worked.

Be Sociable, Share!
  • more Generate CSR For Iphone App in Windows

1 Comment »

  1. Hi,
    I don’t understand the the bit about “go to notepad really quick” – why really quick? what do I do with the notepad file? how does it link to mykey.key?

    hope you can explain this to a slooow person as this would be very useful for me.

    All the best


    Comment by Sean Sherlock — November 2, 2011 @ 8:46 am

RSS feed for comments on this post. TrackBack URI

Leave a comment

Facebook Icon