From 463cbaf88fb537da0d25f432a8da6c9cb7e27e2f Mon Sep 17 00:00:00 2001 From: Kayo Date: Wed, 12 Jun 2019 00:57:13 -0700 Subject: [PATCH] Standardize PEM files LetsEncrypt sends PEM files for the Cert/Key/Chain. --- doc/self-hosted/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/self-hosted/index.md b/doc/self-hosted/index.md index 17bf6c96c448..a64be8b4a79d 100644 --- a/doc/self-hosted/index.md +++ b/doc/self-hosted/index.md @@ -73,8 +73,8 @@ Options: ### Cert and Cert Key To encrypt the traffic between the browser and server use `code-server --cert=` followed by the path to your `.cer` file. Additionally, you can use certificate keys with `code-server --cert-key` followed by the path to your `.key` file. -> Example (certificate and key): `code-server --cert /etc/letsencrypt/live/example.com/fullchain.cer --cert-key /etc/letsencrypt/live/example.com/fullchain.key` -> Example (if you are using Letsencrypt or similar): `code-server --cert /etc/letsencrypt/live/example.com/fullchain.pem --cert-key /etc/letsencrypt/live/example.com/privkey.key` +> Example (certificate and key): `code-server --cert /etc/letsencrypt/live/example.com/fullchain.pem --cert-key /etc/letsencrypt/live/example.com/fullchain.pem` +> Example (if you are using Letsencrypt or similar): `code-server --cert /etc/letsencrypt/live/example.com/fullchain.pem --cert-key /etc/letsencrypt/live/example.com/privkey.pem` > To ensure the connection between you and your server is encrypted view our guide on [securing your setup](../security/ssl.md)