Monolith Forensics
  • Monolith Resources
    • Accessing Monolith
  • Monolith Features
    • 🏁Getting Started
      • Basic License Terms
      • Monolith Desktop Setup
      • Login & 2FA
      • SSO Login
      • First Steps
    • On-Premises Deployments
      • Managing Licensing
      • Requirements
      • Monolith Containers (Docker)
      • Deployment
        • .env
        • docker-compose.yml
        • Docker Installation
        • How to Deploy
        • Useful Commands
      • Monolith Data
      • Backups
        • Restoring Backups
      • Updates
      • Custom Domains and TLS
      • Connecting to File Shares
      • Update MySQL Container
      • Using External MySQL Database
      • Manually Update User Email
    • Monolith UI Features
      • Tables
      • Query Filter
      • Global Search
    • Cloud Security
      • Security Overview
      • Single Sign On (SSO)
    • Hardware Integrations
      • Dymo Label Printers
      • Printer Recommendations
      • Scanner Recommendations
      • Signature Tablets
    • Case Reports
      • Report Templates
        • Template Variables
        • Template Examples
      • Monolith Case Reports
    • Storage Items
    • Audits
      • Creating Audits
      • Viewing and Accessing Audits
      • Audit Features & Layout
      • Auditing Items
      • Using a scanner
    • People
      • Clients
        • Client Page
    • Lab Management
      • Forensic Software
      • Equipment
    • Settings
      • System
      • Email Notifications
      • Organization Info
      • Editor Templates
      • Relay Settings
        • Basic Details
        • User Management
        • Relay Instructions
        • Custom Field Options
      • Item Number Formats
      • Case Types
      • Case Statuses
      • Case Progress
      • Evidence Types
      • Evidence Progress
      • Item Labels
      • Custom Fields
      • Task Templates
      • Time Entry Categories
      • QA Checklist Items
      • QA Issue Types
      • Admin Log
      • Integrations
  • Monolith API
    • API Access
      • API Endpoints
      • Authentication
    • Info API
    • Cases API
      • Get Cases
      • Create Case
    • Evidence API
      • Get Evidence
      • Create Evidence
      • Update Evidence
      • Delete Evidence
      • Migrate Evidence
    • Locations API
      • Get Locations
    • Chain of Custody API
      • Get COC Records
      • Create COC Records
    • Clients API
      • Get Clients
      • Create Client
    • Inquiries API
      • Get Inquiries
      • Create Inquiries
    • Tasks API
      • Get Tasks
      • Create Task
    • Monolith Endpoints
  • About Monolith Forensics
    • Support
    • Privacy Policy
    • End User License Agreement
Powered by GitBook
On this page
  • Setting up a Custom Domain
  • Generating SSL certificates
  • Update your docker-compose.yml
  • Rename the SSL certificates
  • Copy SSL certs to Monolith Deployment Folder
  • Re-deploy the Monolith Server
  • Conclusion
Export as PDF
  1. Monolith Features
  2. On-Premises Deployments

Custom Domains and TLS

Setting up a custom domain for Monolith requires just a couple of item and steps:

  1. Setup the domain that you want to use.

  2. Create SSL certificates with any necessary intermediate certs that are required for the domain.

  3. Add those SSL certificates to your Monolith deployment.

    1. Update the docker-compose.yml file

    2. Copy the SSL certs to your Monolith deployment folder.

If you require a more complex setup, contact us at support@monolithforensics.com.

Setting up a Custom Domain

This process will be different for everyone, but usually your IT department can establish a specific Domain for you to use to access your Monolith deployment in a web browser.

This is helpful because it allows you to use domain resolution in your browser instead of a plain IP address that points at your Monolith server.

This also lets you setup SSL that can be verified by your browser and create secure and encrypted web traffic between your Monolith users and the Monolith server.

Generating SSL certificates

Again, this process varies, but you will need to generate two SSL certificates that are associated with your custom domain. These certificate file comprise of a certificate file and a key file.

This is also a process that your IT department can help you with.

Update your docker-compose.yml

Before we can use the new SSL certificates, we need to update our Monolith deployment config so that it will override the built in self-signed certificates that Monolith uses by default.

Under the "nginx" block of the docker-compose.yml file, add the following line under "volumes":

./data/nginx/certs:/etc/nginx/certs

The entire "nginx" block should look like this:

  nginx:
    container_name: nginx
    image: monolithforensics/nginx:latest
    restart: always
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ./data/logs/nginx:/var/log/nginx/
      - ./data/nginx/certs:/etc/nginx/certs

Rename the SSL certificates

When using custom SSL certs, Monolith is looking for certificates with specific names - rename your SSL certs to the following file names:

// Cert file
default_monolith.crt

// Key File
default_monolith.key

Copy SSL certs to Monolith Deployment Folder

Copy the SSL certs to "data" folder within your Monolith deployment, the final cert locations should look like this:

// Some code
{monolith-deployment-folder}/data/nginx/certs/default_monolith.crt
{monolith-deployment-folder}/data/nginx/certs/default_monolith.key

Re-deploy the Monolith Server

In order for Monolith to start using the new certs, we need to redeploy/restart the Monolith server so that it will indest the cert files.

Open a terminal or command prompt in the location of the docker-compose.yml file.

Enter the following commands, in order, to re-deploy and restart the Monolith server:

// shut down current deployment
docker compose down

// wait for process to complete

// Restart Monolith deployment
docker compose up -d

Conclusion

Now, Monolith will start using these certs and your custom domain to create a secure and encrypted connection between the server and your clients systems; both in the web browser and the Monolith desktop client.

PreviousUpdatesNextConnecting to File Shares

Last updated 6 months ago