Generating an Apple CSR with Windows

So I am in the process of releasing an application to iOS but I don’t have a Mac. One of the things that I need to do for releasing development versions of my application I need to create a Certificate Signing Request (CSR). Follow the steps below in order to be able to do it.

1) Download OpenSSL if you don’t already have it. There is an installer available
2) Open a command prompt.
3) Set the location of the configuration file using set OPENSSL_CONF=c:\OpenSSL-Win32\bin\openssl.cfg otherwise you’ll get the warning. WARNING: can’t open config file: /usr/local/ssl/openssl.cnf
4) cd \OpenSSL-Win32\bin
5) openssl req -nodes -newkey rsa:2048 -keyout private_key.key -out cer_sign_request.csr
6) Fill out the answers to the questions. Most are self explanatory.
7) You should now have a file called cer_sign_request.csr in \OpenSSL-Win32\bin

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s