Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
su bhitch # Use a sudo enabled account.
cd ~
mkdir private
sudo chmod 700 ./private
cd private
openssl genrsa -out www.earth.com_server.pem.key 2048

The openssl command reads,

...

In general, PEM formats are used with Unix, PCKS12 with Microsoft world and DER with Java.

OpenSSL uses PEM by default.

Generate the CSR

Generate the CSR (Certificate Signing Request) which will be submitted to the CA,

Code Block
languagebash
openssl req -new -key www.earth.com_server.pem.key -out www.earth.com_server.csr

...