From: Redouane Kachach Date: Wed, 5 Oct 2022 14:36:15 +0000 (+0200) Subject: doc/cephadm: fixing grafana cet/key generation documentation X-Git-Tag: v18.1.0~1052^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F48374%2Fhead;p=ceph.git doc/cephadm: fixing grafana cet/key generation documentation Fixes: https://tracker.ceph.com/issues/57769 Signed-off-by: Redouane Kachach --- diff --git a/doc/cephadm/services/monitoring.rst b/doc/cephadm/services/monitoring.rst index 0f67d3f0044e..5a0bdb385ed9 100644 --- a/doc/cephadm/services/monitoring.rst +++ b/doc/cephadm/services/monitoring.rst @@ -408,14 +408,17 @@ Configuring SSL/TLS for Grafana ``cephadm`` deploys Grafana using the certificate defined in the ceph key/value store. If no certificate is specified, ``cephadm`` generates a -self-signed certificate during the deployment of the Grafana service. +self-signed certificate during the deployment of the Grafana service. Each +certificate is specific for the host it was generated on. A custom certificate can be configured using the following commands: .. prompt:: bash # - ceph config-key set mgr/cephadm/grafana_key -i $PWD/key.pem - ceph config-key set mgr/cephadm/grafana_crt -i $PWD/certificate.pem + ceph config-key set mgr/cephadm/{hostname}/grafana_key -i $PWD/key.pem + ceph config-key set mgr/cephadm/{hostname}/grafana_crt -i $PWD/certificate.pem + +Where `hostname` is the hostname for the host where grafana service is deployed. If you have already deployed Grafana, run ``reconfig`` on the service to update its configuration: