...
Code Block | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
openssl req -new -key www.earth.com_server.pem.key -out www.earth.com_server.csr |
...