Page tree

Versions Compared

Key

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

...

Code Block
languagebash
sudo mvcp www.earth.com.crt /etc/ssl/certs
sudo chown root:root /etc/ssl/certs/www.earth.com.crt

...

Store the private key into the protected folder,

Code Block
languagebash
sudo cp www.earth.com_server.key /etc/ssl/private/
chmod 600 /etc/ssl/private/www.earth.com_server.key # The file should only be view-able by the owner
sudo chown root:ssl-cert /etc/ssl/private/www.earth.com_server.key # Make the user starting Apache the owner, in this case it is root.
sudo mv www.earth.com_server.key /etc/ssl/private/
Info

The ssl-cert group is a special group to make it easy for other processes to use certs.

...