How-to Generate a Certificate Signing Request on Ubuntu 14.04 Trusty LTS Easy Guide

May 18th, 2014 by thelinuxevangelist

Generate SSL CSR on Ubuntu 14.04 LTS




The Tutorial Shows You Step-by-Step How-to Generate a SSL Certificate Signing Request (CSR) on Ubuntu 14.04 Trusty Tahr LTS Linux Desktop/Server.

Whether you are getting a Certificate from a CA or Generating your own self-signed certificate, the First Step is to generate a Key.

If the certificate will be used by service daemons, such as Apache, Postfix, Dovecot, etc, a Key Without a Passphrase is often Appropriate.

Not having a passphrase Allows the Services to Start Without Manual Intervention, usually the preferred way to start a daemon.

How-to Generate SSL CSR on Ubuntu 14.04 LTS - Featured
  1. Login into Shell

    Or Open a Command Line Terminal Window
    (Press “Enter” to Execute Commands)

    Ctrl+Alt+T

    Setup Your Own SSL Certification Authority on Ubuntu 14.04 Trusty - Open Terminal
  2. Generate an OpenSSL Secure Key for CSR

    openssl genrsa -des3 -out server.key 2048

    Enter a Passphrase (Leave Empty if Used on a Web Server.)

  3. Generate an OpenSSL Insecure Key for CSR

    openssl rsa -in server.key -out server.key.insecure

    You use as Input the Secure to get as Output the Insecure one…

  4. Shuffle the Key Names

    mv server.key server.key.secure
    mv server.key.insecure server.key
  5. Create the CSR

    openssl req -sha256 -new -key server.key -out server.csr

    You will be Prompted to Enter the Secure Key Passphrase.

    Then Enter the Needed Data: Company Name, Site Name, Email Id…

  6. How-to Generate Your Own CA Signed Certificate

    Generate SSL Signed Certificate for FREE

Tags: , , , , , , , , , , ,