From 0b6904c31b134eb990f6d3c4861236c8b0302248 2023-11-29 14:20:24 From: RhodeCode Admin Date: 2023-11-29 14:20:24 Subject: [PATCH] docs(ssl): cleanup example cert files names --- diff --git a/docs/source/configuration/ssl-certificates.rst b/docs/source/configuration/ssl-certificates.rst index 489df98..f8ef748 100644 --- a/docs/source/configuration/ssl-certificates.rst +++ b/docs/source/configuration/ssl-certificates.rst @@ -17,18 +17,20 @@ https://doc.traefik.io/traefik/https/tls/ Enable file based certificates ++++++++++++++++++++++++++++++ -File based certificates should be places inside this :file:`.custom/traefik_custom/dynamic/certs` +File based certificates (including self-signed) should be places inside this :file:`.custom/traefik_custom/dynamic/certs` +We recommend using standard names for the .crt file (rhodecode-ssl.crt) and .key file (rhodecode-ssl.key). -e.g + +e.g. .. code-block:: bash root@Ubuntu-2204 ~/rhodecode_docker # ls -la .custom/traefik_custom/certs/ total 416 drwxr-xr-x 2 root root 4096 Jan 7 2023 . - drwxr-xr-x 4 501 staff 4096 Jan 22 2023 .. - -rw-r--r-- 1 root root 411001 Jan 7 2023 rhodecode-com.cert - -rw-r--r-- 1 root root 1675 Nov 21 2022 rhodecode-com.key + drwxr-xr-x 4 root root 4096 Jan 22 2023 .. + -rw-r--r-- 1 root root 411001 Jan 7 2023 rhodecode-ssl.crt + -rw-r--r-- 1 root root 1675 Jan 7 2023 rhodecode-ssl.key Then those file can be enabled to act as a default certificates used in traefik. @@ -44,8 +46,8 @@ In file :file:`.custom/traefik_custom/dynamic/traefik_dynamic_custom.yaml` there # the below should be used only if acme/letsencrypt is not used, and we want a default file-based SSL certificates certificates: # first certificate in default store - - certFile: /etc/traefik/certs/rhodecode-com.cert - keyFile: /etc/traefik/certs/rhodecode-com.key + - certFile: /etc/traefik/certs/rhodecode-ssl.crt + keyFile: /etc/traefik/certs/rhodecode-ssl.key stores: - default