---
title: "Enabling SSL on Docker - Signer"
description: "How to enable SSL for Signer on Docker: store the certificate and key as secrets, edit the compose, Nginx and Signer configuration files and redeploy."
canonical: "https://docs.lacunasoftware.com/en-us/articles/signer/on-premises/docker/docker-swarm/enable-ssl"
locale: "en"
product: "Signer"
last_updated: "2026-07-14"
---

# Enabling SSL on Docker - Signer

Stop the stack (if already running):

Store the certificate and key files as secrets (replace *signer.pem* and *signer.key* below with your certificate and key files):

Edit the Docker compose file:

Uncomment the following entries:

Edit the Nginx configuration file:

Uncomment the following entries:

Edit the Signer configuration file:

Make the following changes:

* Section **Bindings**
  * **HttpsMode**: change to `RedirectPages` to redirect to HTTPS users accessing the dashboard on HTTP
* Section **General**
  * **SiteUrl**: change the protocol of the URL to `https`, e.g. *https://signer.patorum.com*

Deploy the stack with the new configurations:

## See also

* [Installing Signer on Docker](https://docs.lacunasoftware.com/en-us/articles/signer/on-premises/docker/docker-swarm)
* [Using an external database on Docker](https://docs.lacunasoftware.com/en-us/articles/signer/on-premises/docker/docker-swarm/external-db)
* [Checking the system logs on Docker](https://docs.lacunasoftware.com/en-us/articles/signer/on-premises/docker/docker-swarm/check-logs)
* [Persistent data (backup considerations)](https://docs.lacunasoftware.com/en-us/articles/signer/on-premises/docker/docker-swarm/persistent-data)
* [Using a stack with GrantID](https://docs.lacunasoftware.com/en-us/articles/signer/on-premises/docker/docker-swarm/internal-grantid)
