Skip to content

Commit 70e4e1c

Browse files
committed
mgr/cepahadm: adding code to store self-signed rgw certificate
Signed-off-by: Redouane Kachach <[email protected]>
1 parent fa990d3 commit 70e4e1c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pybind/mgr/cephadm/services/cephadmservice.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,6 +1108,7 @@ def prepare_create(self, daemon_spec: CephadmDaemonDeploySpec) -> CephadmDaemonD
11081108
custom_san_list=spec.zonegroup_hostnames
11091109
)
11101110
pem = ''.join([key, cert])
1111+
self.mgr.cert_mgr.save_cert('rgw_frontend_ssl_cert', pem, service_name=spec.service_name())
11111112
ret, out, err = self.mgr.check_mon_command({
11121113
'prefix': 'config-key set',
11131114
'key': f'rgw/cert/{daemon_spec.name()}',

0 commit comments

Comments
 (0)