From f48cc869be9f18cb2ef843ea9bb567b7712aaf0e Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Tue, 4 Jul 2023 16:43:31 +0200 Subject: [PATCH] [v10.0.x] Docs: Provide absolute paths for set-up-https.md (#71046) Docs: Provide absolute paths for set-up-https.md (#70681) Fixes #69664 (cherry picked from commit f2bb9fd92aef6c1337038899751486195a7f2c4b) Co-authored-by: Emil Tullstedt --- docs/sources/setup-grafana/set-up-https.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sources/setup-grafana/set-up-https.md b/docs/sources/setup-grafana/set-up-https.md index ac21711df24..1575e4ec600 100644 --- a/docs/sources/setup-grafana/set-up-https.md +++ b/docs/sources/setup-grafana/set-up-https.md @@ -80,7 +80,7 @@ This section shows you how to use `openssl` tooling to generate all necessary fi 1. Run the following command to self-sign the certificate with the private key, for a period of validity of 365 days: ```bash - sudo openssl x509 -req -days 365 -in grafana.csr -signkey /etc/grafana/grafana.key -out /etc/grafana/grafana.crt + sudo openssl x509 -req -days 365 -in /etc/grafana/grafana.csr -signkey /etc/grafana/grafana.key -out /etc/grafana/grafana.crt ``` 1. Run the following commands to set the appropriate permissions for the files: @@ -88,7 +88,7 @@ This section shows you how to use `openssl` tooling to generate all necessary fi ```bash sudo chown grafana:grafana /etc/grafana/grafana.crt sudo chown grafana:grafana /etc/grafana/grafana.key - sudo chmod 400 grafana.key /etc/grafana/grafana.crt + sudo chmod 400 /etc/grafana/grafana.key /etc/grafana/grafana.crt ``` **Note**: When using these files, browsers might provide warnings for the resulting website because a third-party source does not trust the certificate. Browsers will show trust warnings; however, the connection will remain encrypted.