]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: fixing generate_cert to pick the right root subject 63162/head
authorRedouane Kachach <rkachach@ibm.com>
Fri, 30 May 2025 13:33:30 +0000 (15:33 +0200)
committerKushal Deb <Kushal.Deb@ibm.com>
Tue, 3 Jun 2025 04:17:16 +0000 (09:47 +0530)
commita0da7864684b67f24b607d88fb1ba6ce30a6a70e
tree8b1a7810341a6211a44047ed440d8e27490c93c0
parentf7270c46fb700f0bebb309517d590aeda56daf1e
mgr/cephadm: fixing generate_cert to pick the right root subject

This cherry-picked change:
   Ensures upgrade safety by reusing the subject from the already-loaded root
   certificate instead of hardcoding a new one.
   (commit 918d0ac9ca6ef1b6e4308c3035e2dd7dd7afb4a9)

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
Signed-off-by: Kushal Deb <Kushal.Deb@ibm.com>
src/pybind/mgr/cephadm/ssl_cert_utils.py