Apache OpenSSL: How to create CSR key step-by-step guide

You should have SSH access to server and root level access to create CSR key and private key. You can follow the same process to create CSR key for single domain SSL, single sub-domain SSL and wildcard SSL certificates.

Step1: You can use putty to connect apache server SSH and login as root
Step2: Type below command on prompt

openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr

This command will create two files Private Key and CSR Key called Certificate Signing Request. You should keep copy of private key and use CSR key to complete SSL configuration process.

You will be prompted to enter below information:

Wildcard SSL CSR key

    • Country Name (2 letter code) [XX]:
    • State or Province Name (full name) []:
    • Locality Name (eg, city) [Default City]:
    • Organization Name (eg, company) [Default Company Ltd]:
    • Organizational Unit Name (eg, section) []:
    • Common Name (eg, your name or your server’s hostname) []:

    (Here you should enter the correct domain name. SSL certificate will be issued for the same name. If you’ve purchased wildcard SSL, you enter common name like *.yourdomain.com)

    • Email Address []:

    Please enter the following ‘extra’ attributes to be sent with your certificate request

    • A challenge password []: DO NOT USE PASSWORD
    • An optional company name []:

    You’ve successfully generated CSR key. Use text editor to copy key file and submit to SSL configuration form.

    Related Article:

    Cheap SSL Certificates
    About the Author

    Apurva Barve

    Apurva holds a master’s in Computer Science and has spent over 6 years immersing in SaaS Customer Services with a focus on SSL technologies. With a natural ability to understand customer needs, she has thrived in highly competitive markets, showcasing her adaptability and prowess in the ever-evolving SSL industry. When not decoding tech jargon, you'll find her sipping on coffee and enjoying the digital landscape.

    Trusted by Millions

    SSL2BUY delivers highly trusted security products from globally reputed top 5 Certificate Authorities. The digital certificates available in our store are trusted by millions – eCommerce, Enterprise, Government, Inc. 500, and more.
    PayPal
    Verizon
    2Checkout
    Lenovo
    Forbes
    Walmart
    Dribbble
    cPanel
    Toyota
    Pearson
    The Guardian
    SpaceX