Skip to content

Commit 590d192

Browse files
authored
Merge pull request ceph#61867 from anuradhagadge/doc_ca_cert_with_fsid
doc/mgr: Add root CA cert instructions to rgw.rst Reviewed-by: Anthony D'Atri <[email protected]>
2 parents e52e550 + 7d9298e commit 590d192

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

doc/mgr/rgw.rst

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,43 @@ Join an existing realm by creating a new secondary zone (using the realm token)
139139
ceph rgw admin [*]
140140

141141
RGW admin command
142+
143+
Upgrading root ca certificates
144+
------------------------------
145+
146+
#. Make sure that the RGW service is running.
147+
#. Make sure that the RGW service is up.
148+
#. Make sure that the RGW service has been upgraded to the latest release.
149+
#. From the Primary cluster on the Manager node, run the following command:
150+
151+
.. prompt:: bash #
152+
153+
ceph orch cert-store get cert cephadm_root_ca_cert
154+
155+
#. On the node where the RGW service is running, store the certificate on the
156+
following path::
157+
158+
/etc/pki/ca-trust/source/anchors/<cert_name>.crt
159+
160+
#. Verify the certificate by running the following command:
161+
162+
.. prompt:: bash #
163+
164+
openssl x509 -in <cert_name>.crt -noout -text
165+
166+
#. Perform the above steps on the MGR node and on the RGW node of all secondary
167+
clusters.
168+
169+
#. After the certificates have been validated on all clusters, run the
170+
following command on all clusters that generate certificates:
171+
172+
.. prompt:: bash #
173+
174+
update-ca-trust
175+
176+
#. From the primary node, ensure that the ``curl`` command can be run by the
177+
user:
178+
179+
.. prompt:: bash [root@primary-node]#
180+
181+
curl https://<host_ip>:443

0 commit comments

Comments
 (0)