##// END OF EJS Templates
docs(ssl): cleanup example cert files names
super-admin -
Show More
@@ -17,18 +17,20 b' https://doc.traefik.io/traefik/https/tls/'
17 Enable file based certificates
17 Enable file based certificates
18 ++++++++++++++++++++++++++++++
18 ++++++++++++++++++++++++++++++
19
19
20 File based certificates should be places inside this :file:`.custom/traefik_custom/dynamic/certs`
20 File based certificates (including self-signed) should be places inside this :file:`.custom/traefik_custom/dynamic/certs`
21 We recommend using standard names for the .crt file (rhodecode-ssl.crt) and .key file (rhodecode-ssl.key).
21
22
22 e.g
23
24 e.g.
23
25
24 .. code-block:: bash
26 .. code-block:: bash
25
27
26 root@Ubuntu-2204 ~/rhodecode_docker # ls -la .custom/traefik_custom/certs/
28 root@Ubuntu-2204 ~/rhodecode_docker # ls -la .custom/traefik_custom/certs/
27 total 416
29 total 416
28 drwxr-xr-x 2 root root 4096 Jan 7 2023 .
30 drwxr-xr-x 2 root root 4096 Jan 7 2023 .
29 drwxr-xr-x 4 501 staff 4096 Jan 22 2023 ..
31 drwxr-xr-x 4 root root 4096 Jan 22 2023 ..
30 -rw-r--r-- 1 root root 411001 Jan 7 2023 rhodecode-com.cert
32 -rw-r--r-- 1 root root 411001 Jan 7 2023 rhodecode-ssl.crt
31 -rw-r--r-- 1 root root 1675 Nov 21 2022 rhodecode-com.key
33 -rw-r--r-- 1 root root 1675 Jan 7 2023 rhodecode-ssl.key
32
34
33 Then those file can be enabled to act as a default certificates used in traefik.
35 Then those file can be enabled to act as a default certificates used in traefik.
34
36
@@ -44,8 +46,8 b' In file :file:`.custom/traefik_custom/dynamic/traefik_dynamic_custom.yaml` there'
44 # the below should be used only if acme/letsencrypt is not used, and we want a default file-based SSL certificates
46 # the below should be used only if acme/letsencrypt is not used, and we want a default file-based SSL certificates
45 certificates:
47 certificates:
46 # first certificate in default store
48 # first certificate in default store
47 - certFile: /etc/traefik/certs/rhodecode-com.cert
49 - certFile: /etc/traefik/certs/rhodecode-ssl.crt
48 keyFile: /etc/traefik/certs/rhodecode-com.key
50 keyFile: /etc/traefik/certs/rhodecode-ssl.key
49 stores:
51 stores:
50 - default
52 - default
51
53
General Comments 0
You need to be logged in to leave comments. Login now