Custom TLS Certificate

Prev Next

We use nginx as our WWW front end interface, enabling all the standard features and stability this provides.

Custom TLS/SSL WWW x509 certificates are supported. Steps as follows

STEP 1) Copy Certs

PEM file

Copy <you cert>.pem to /opt/fmadio/etc/fmadio_cert.pem

e.g

cp mycert.pem /opt/fmadio/etc/fmadio_cert.pem

Key file

Copy <you cert>.key to /opt/fmadio/etc/fmadio_cert.key

e.g

cp mysert.key /opt/fmadio/etc/fmadio_cert.key

Step 2) Restart nginx

Need to restart NGINX for the new certificate to be loaded

sudo killall nginx

Step 3) Verify

NGINX will take 60sec to restart (it runs off a cronjob). Wait for nginx to restart

Once restarted, the new Certificate should be loaded

Debugging

Any problems check the log files in /mnt/store0/log/nginx_error.log