[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 f2bb9fd92a)

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
This commit is contained in:
grafana-delivery-bot[bot]
2023-07-04 16:43:31 +02:00
committed by GitHub
parent 90411d4c31
commit f48cc869be
+2 -2
View File
@@ -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.