Customer Support

  1. Support
  2. Installation
  3. How to create a CSR in Apache?
  1. Home
  2. SSL
  3. How to create a CSR in Apache?

How to create a CSR in Apache?

To generate CSR in Apache, follow these steps:

1. Open the remote connection and navigate to the folder in which you want to generate the CSR

2. Run the following command:

openssl req -out CSR.csr -new -newkey rsa:4096 -nodes -keyout privatekey.key

3. Fill in the following information in Latin characters:

Field Example
Country Name

GR (The first 2 letters are needed)

State or Province

Attiki (Full State name)
Kifisia (The full name of the city)

 Top.Host (The full name of the company)
Organizational Unit  
 Support (It is not mandatory, you can declare a department of the company)
Common Name (The domain name)

Email (The email address)


ATTENTION: The email address is a mandatory field for the CSR issue, therefore it is necessary to fill it.

The following characters are not accepted < > ~ ! @ # $ % ^ * / ( ) ?.,& as well as not completing the challenge password because it creates problems for the issuing authority.

By following the above process, you now have the private key (privatekey.key) on your computer which should remain on your computer and the Certificate Signing Request (CSR.csr)

Both files can be viewed with a text editor such as Notepad++

You haven't found what you are looking for?

Contact our experts, they will be happy to help!

Contact us