Using Custom SSL Certs
This page explains how to implement a custom SSL certificate.

Prerequisites

  • Command-line access to the server with PlexTrac installed and running
  • Purchased SSL certificate from a vendor such as GoDaddy or DigiCert
  • Two files are required to implement a custom SSL certificate with NGINX
    • a .crt file following this format:
    • a .key file following this format
Often the contents of these files can be extracted from the PEM downloaded from the vendor.

Installing Custom Cert

Step 1: Copy the .key and .crt files to the server hosting PlexTrac.
Step 2: Edit the docker-compose.override.yml located in the installation directory of PlexTrac.
1
nano docker-compose.override.yml
Copied!
Step 3: Uncomment “services”, “plextracnginx:”, “volumes” and the two lines ending in app.plextrac.key and app_cert_chain.crt.
Step 4: Replace “<< local key path here >>” and “<< local cert path here >>” with the file path to the files copied to the server is Step 1.
Take note of the two additional spaces for each new line, as shown in the screenshot above.
Step 5: Save and exit.
Step 6: Run plextrac update to implement changes.
1
plextrac update
Copied!
Step 7: Clear browser cache or open an incognito page and browse to your PlexTrac URL to ensure changes were successful.
Click Next below to learn about adding installing PlexTrac updates.