Frequently Asked Questions

Q: How to generate Certificate and Private Key?

A: Perform the following steps to generate the Certificate and Private Key:

  1. Download and install OpenSSL.

  2. Open Windows File Explorer and navigate to the OpenSSL bin directory as follows:

    c:\OpenSSL\bin\

  3. Open the command prompt and enter the following command to begin generating a certificate and private key pair:

    openssl req -newkey rsa:2048 -x509 -keyout <privatekeyname>.pem -out <certificatename>.pem -days <number_of_days_for certfiicate_validity>

  4. You will then be prompted to enter applicable Distinguished Name (DN) information, totaling seven fields:

    Enter the value as applicable and press enter

  5. Convert .pem key generated to key format using the following command:

    openssl rsa -in <privatekeyname>pem -out <privatekeyname>.key -des3

  6. Once completed, you will find the <certificatename>.pem and <privatekeyname>.key files created under the \OpenSSL\bin\ directory.