How to generate a CSR
If you need a SSL certificate for your application or server, you will first need to generate a private key and a certificate signing request (CSR). If you are using a third-party application, follow the instructions for your application to generate the key and CSR. Remember, certificate keys must be generated with 2048 bits or they will not be accepted.
If you are using either apache on Linux or IIS on windows, or if your application does not have a built in mechanism for generating certificates you can follow the directions below.