]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: add support to consume user given ca cert for vault
authorJiffin Tony Thottan <jthottan@redhat.com>
Tue, 20 Oct 2020 06:13:58 +0000 (11:43 +0530)
committerJiffin Tony Thottan <jthottan@redhat.com>
Tue, 29 Jun 2021 10:30:01 +0000 (16:00 +0530)
commit8ffb21d88fdb8245168615626437255c49d91010
treeb913e53582d0933f2dbdaade447fc234b1907ac3
parent2f0910fd6814447f3d8e281f115f5d05d356d67b
rgw: add support to consume user given ca cert for vault

Currently RGW can authenticate with vault via SSL using system certs.
With this patch user can provide custom ca cert and location of the file
can be specified in ceph.conf like this :
rgw_crypt_require_ssl = <file path>

Fixes: https://tracker.ceph.com/issues/47776
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
(cherry picked from commit 424dca0f3866c62e5c51cc8b2a080d680fddbe7f)
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
Conflicts:
src/common/options/rgw.yaml.in
- added required changes in options.cc and legacy_config_opts.h
src/common/legacy_config_opts.h
src/common/options.cc
src/rgw/rgw_http_client.cc
src/rgw/rgw_http_client.h
src/rgw/rgw_kms.cc