Generate a Certificate Signing Request (CSR)

In order to obtain a certificate from the certificate authority of your choice you have to create a Certificate Signing Request (CSR). That CSR will be used by the certificate authority to create a certificate that will identify your website as "secure". To create a CSR follow these steps:
  1. Create a local self-signed certificate.
  2. The CSR is then created using the following command:
    openssl req –out {output-csr-file} –key {private-key-file} -new