Generate CSR Linux Mint 18.1
Hello Mint User! The Tutorial shows you Step-by-Step How to Generate CSR Linux Mint 18.1 Serena.
Whether you are getting a Certificate from a CA or Generating your own self-signed certificate, the First, Step is to generate a Key.
Then 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.
Moreover, Using a Flag in the CSR Generation you can choose the Digest Algorithm between:
md5 (default), md4, md2, sha1, sha, sha224, sha256, sha384, sha512 and mdc2.
Especially relevant: to Generate a CSR for a obtaining a SSL Certificate you have to Use the SHA-256 Algorithm.
-
First, Open a Terminal Window
(Press “Enter” to Execute Commands)In case first see: Terminal QuickStart Guide.
-
Then 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.).
-
Again 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…
-
Next Shuffle the Key Names.
mv server.key server.key.secure
mv server.key.insecure server.key
-
Finally, Create the SHA2 CSR.
openssl req -sha256 -new -key server.key -out server.csr
You will be Prompted to Enter the Secure Key Passphrase (Simply hit ‘Enter’ if None).
Then follow giving the Needed Data: Company Name, Site Name, Email Id… -
How to Generate your Own CA Signed Certificate.