Live Chat
Same Certs
Cheapest Price Seal
Less Price

Generate a Certificate Signing Request (CSR) for Apache

Generate CSR for Apache Server
Apache Software Foundation developed Apache. The server is used by many operating systems like UNIX, Windows and supports languages like Perl, Python, Tcl, PHP. Apache got popular in 1996 and became first server to 100 million websites. Once you obtain your desired SSL Certificate for your website, the very next and important step is to install certificate properly on the server. Today we will reveal steps to follow while generating a Certificate Signing Request (CSR) for Apache Web Server.

CSR creation for Apache requires OpenSSL utility as well private key is also created with the CSR. OpenSSL is found under /usr/local/ssl/bin in Apache server.

Generating the Key Pair

    • First, type the following command. In case, you do not want Pass Phrase, remove –des3 command. But your private key will remain unsecured.
openssl genrsa –des3 –out www.mydomain.com.key 2048
  • Now, enter the PEM Pass Phrase and remember it.
  • Now, your RSA private key (2048-bit) is generated and store it in the file for example, www.mydomain.com.key

Generating the CSR

    • First, type the following command at the prompt. If you have kept Pass Phrase along with –des3 command, type it.
openssl req –new –key www.mydomain.com.key –out www.mydomain.com.csr

PS. In case of error with windows based installation, type below command.

openssl req -new -key www.mydomain.com.key -out www.mydomain.com.csr -config openssl.cnf
  • Now, input below information for CSR (Certificate Signing Request). This information will be showed in the certificate.

PS. Please do not use any special characters like < > ~ ! @ # $ % ^ * / \ ( ) ? and Email Address, A challenge password, An optional company name.


Country Name (2 letter code) [US]:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city):
Organization Name (eg, company):
Organizational Unit Name (eg, section):
Common Name (eg, YOUR name):

    • At last, confirm the details of CSR and use below command:
openssl req -noout -text -in www.mydomain.com.csr
  • The CSR is created and you need to submit to SSL certificate provider.

Now you have successfully generated CSR for Apache. In our next article we will discuss on how to install SSL Certificate on Apache.

Cheap SSL Shop
4.8/5 overall satisfaction rating

Based on 2981 ratings from actual customers

Customer Reviews
"Not a new customer just a new account due to a name change. Love your prices and service. Thanks for everything! Jimmy - Prestacarts Global Commerce"
Jimmy Ray Warren J / TX, United States
"I have to say your tech "Mike" went out of his way to help me setup the CSR for our SSL. I am not a techie, and Mike was extremely helpful and patient with me. You need to hire more support personnel like Mike! Great job Mike!! Thank you for all your help!! Jana"
Jana K
"Been using you guys for several years. Clean built website with a great UI/UX that lets me get to what I need to buy quickly. I couldn't ask for more. Thanks!"
Devin N
5 Star
80%
4 Star
13%
3 Star
3%
2 Star
2%
1 Star
2%