Skip to content
English
  • There are no suggestions because the search field is empty.

Manually requesting and applying an SSL cert

How to create a CSR and apply a cert from the CLI

CSR Request

in /home/system/etc/ssl_new

openssl req -newkey rsa:2048 -keyout .key -out .csr

It will probably ask you for a passphrase. Use something simple like statseeker. You’ll need this when restarting Apache

Enter the CSR info

Copy the file or the contents of .csr to your computer to request the cert from a supplier.

A PEM with no chain or header seems to work the best.

 

Applying the cert

When you get the cert, copy the file or the contents to /home/system/etc/ssl_new/ .crt

In /home/system/etc/ssl_new copy the existing ssl.key and ssl.cert to .key and .crt

rm /home/system/etc/ssl.key

rm / home/system/etc/ssl.crt

cp /home/system/etc/ssl_new/ .key /home/system/etc/ssl.key

cp /home/system/etc/ssl_new/ .crt /home/system/etc/ssl.crt

 

As root restart Apache24

Service apache24 restart

 

Go to Statseeker and check the status of the cert.