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 “/emailAddress=email@server.com, 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.



How to Properly Sync Iphone Apps to Itunes

Feb 14, 2011 @ 01:30 pm by HackingManual

If you try syncing your apps by clicking sync apps you will recieve the error message.

“Are you sure you want to sync applications? All existing applications and data on the iphone will be replaced with applications from this itunes library.

This will Delete all apps on your iphone. Instead First transfer your Iphone apps to itunes. Then you can sync without losing anything.

Right Click on your Iphone and click transfer purchases.

transfer purchases How to Properly Sync Iphone Apps to Itunes

This will transfer all of the apps on your iphone to Itunes.

Now you can go to your iphone settings and sync apps and ignore the warning message. Now you can download apps from itunes and sync to your iphone.

Hopefully in future releases Itunes will make this process more user friendly.



Facebook Icon