From 822e5fb1a17f02100d659b3bb21967903159095b Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Wed, 12 Feb 2025 15:48:15 +0200 Subject: [PATCH] [release-11.5.2] docs: Copy code to clipboard (`set-up-https.md`) (#100512) Co-authored-by: Solomon Himelbloom <7608183+TechSolomon@users.noreply.github.com> --- 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 20ce98bb2a0..42a745a4ed0 100644 --- a/docs/sources/setup-grafana/set-up-https.md +++ b/docs/sources/setup-grafana/set-up-https.md @@ -48,13 +48,13 @@ This section shows you how to use `openssl` tooling to generate all necessary fi 1. Run the following command to generate a 2048-bit RSA private key, which is used to decrypt traffic: ```bash - $ sudo openssl genrsa -out /etc/grafana/grafana.key 2048 + sudo openssl genrsa -out /etc/grafana/grafana.key 2048 ``` 1. Run the following command to generate a certificate, using the private key from the previous step. ```bash - $ sudo openssl req -new -key /etc/grafana/grafana.key -out /etc/grafana/grafana.csr + sudo openssl req -new -key /etc/grafana/grafana.key -out /etc/grafana/grafana.csr ``` When prompted, answer the questions, which might include your fully-qualified domain name, email address, country code, and others. The following example is similar to the prompts you will see.