From 04e553c6aef7eb5a5a9d9902f6d2e3dd16222087 Mon Sep 17 00:00:00 2001 From: James Carppe Date: Wed, 11 Aug 2021 23:17:22 +1200 Subject: [PATCH] Added clarity around SSL certificate format --- docs/v2.0-be/deploy/ssl.md | 2 +- docs/v2.0/deploy/ssl.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/v2.0-be/deploy/ssl.md b/docs/v2.0-be/deploy/ssl.md index e2c50fb..f4bde50 100644 --- a/docs/v2.0-be/deploy/ssl.md +++ b/docs/v2.0-be/deploy/ssl.md @@ -4,7 +4,7 @@ By default, Portainer’s web interface and API is exposed over HTTP. This is no ## :fontawesome-solid-lock: Securing Portainer using SSL with Docker -To do so, you can use the following flags --ssl, --sslcert and --sslkey: +To do so, you can use the --ssl, --sslcert and --sslkey flags. Portainer expects certificates in PEM format.
$ docker run -d -p 443:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v ~/local-certs:/certs -v portainer_data:/data portainer/portainer-ee:latest --ssl --sslcert /certs/portainer.crt --sslkey /certs/portainer.key
diff --git a/docs/v2.0/deploy/ssl.md b/docs/v2.0/deploy/ssl.md index 597f65d..b888f13 100644 --- a/docs/v2.0/deploy/ssl.md +++ b/docs/v2.0/deploy/ssl.md @@ -4,7 +4,7 @@ By default, Portainer’s web interface and API is exposed over HTTP. This is no ## :fontawesome-solid-lock: Securing Portainer using SSL with Docker -To do so, you can use the following flags --ssl, --sslcert and --sslkey: +To do so, you can use the --ssl, --sslcert and --sslkey flags. Portainer expects certificates in PEM format.
$ docker run -d -p 443:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v ~/local-certs:/certs -v portainer_data:/data portainer/portainer-ce --ssl --sslcert /certs/portainer.crt --sslkey /certs/portainer.key