From: Rabinarayan Panigrahi Date: Mon, 15 Jun 2026 19:10:58 +0000 (+0530) Subject: mgr/cephadm: Registering smb features for ssl certificate with certmgr X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6f598d751326b49898852d640b0731dddcbb1f5a;p=ceph.git mgr/cephadm: Registering smb features for ssl certificate with certmgr Here we are registering smb features such remote_control and keybridge with certificate manager and can be list with ceph orch certmgr bindings ls Signed-off-by: Avan Thakkar Signed-off-by: Rabinarayan Panigrahi --- diff --git a/src/pybind/mgr/cephadm/module.py b/src/pybind/mgr/cephadm/module.py index 0798b44fff4..96cb2aee2d0 100644 --- a/src/pybind/mgr/cephadm/module.py +++ b/src/pybind/mgr/cephadm/module.py @@ -776,6 +776,15 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule): self.cert_mgr.register_cert('nvmeof', 'nvmeof_root_ca_cert', TLSObjectScope.SERVICE) # register haproxy monitor ssl cert and key self.cert_mgr.register_cert_key_pair('ingress', 'haproxy_monitor_ssl_cert', 'haproxy_monitor_ssl_key', TLSObjectScope.SERVICE) + # register per-feature SMB TLS cert names + for _smb_feature in ['remote_control', 'keybridge']: + self.cert_mgr.register_cert_key_pair( + 'smb', + f'smb_{_smb_feature}_ssl_cert', + f'smb_{_smb_feature}_ssl_key', + TLSObjectScope.SERVICE, + f'smb_{_smb_feature}_ca_cert', + ) self.cert_mgr.init_tlsobject_store()