Generate a Certificate Signing Request (CSR): Linux Apache

Generate a Certificate Signing Request (CSR) for Apache

 

# openssl req -new -newkey rsa:2048 -nodes -keyout www.yourdomain.com.key -out www.yourdomain.com.csr
Enter pass phrase for www.yourdomain.com.key:
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [GB]:CA
State or Province Name (full name) [Berkshire]:Alberta
Locality Name (eg, city) [Newbury]:Calgary
Organization Name (eg, company) [My Company Ltd]:DOMAINScanada Inc
Organizational Unit Name (eg, section) []:IT
Common Name (eg, your name or your server's hostname) []: DOMAINScanada
Email Address []:

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:

# ls -ltr www.domain.*
-rw-r--r-- 1 root root   963 Jun 13 20:26 www.yourdomain.com.key
-rw-r--r-- 1 root root   664 Jun 13 20:35 www.yourdomain.com.csr
  • 53 Users Found This Useful
Was this answer helpful?

Related Articles

Improved Guidelines for Issuance of SAN SSL Certificates

Certificate Authorities (CA’s) will not issue SSL certificates with an expiry date later...

Installing an SSL Certificate: Linux Apache

1. Upload the ssl certificate files to your preferred location on the apache server. Make the...

Generate a Certificate Signing Request (CSR): Windows IIS (All Versions)

Generate a Certificate Signing Request (CSR) - IIS 4 Run the Management Console. Expand the...

Installing an SSL Certificate: Windows IIS (All Versions)

Installing an SSL Certificate IIS 5 & 6 1. Open the IIS management console and select the...

Installing an SSL Certificate: Exchange 2010

1. Place a copy of your ssl certificate on your exchange server.2. Open the Exchange 2010...