]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: add insecure option to the http client 7777/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Thu, 25 Feb 2016 10:07:51 +0000 (11:07 +0100)
committerAbhishek Lekshmanan <abhishek@suse.com>
Fri, 26 Feb 2016 16:20:01 +0000 (17:20 +0100)
commit5d4173543fe9ee2be0139f228cdc82d3e0135aad
tree1392b7dc2fb1d59815df35962e5659934f72c92c
parent0c44f20a308f83d9f67ea99b25b19ef3dc66b657
rgw: add insecure option to the http client

This allows the http client to turn off ssl certificate peer checking,
which is turned on by default. This is useful in cases like when
Keystone is SSL terminated with a self signed certificate.
The option `rgw_keystone_verify_ssl` (default true) can be toggled if
self signed certs are used, so that swift and s3 apis using keystone
authentication can work.

Fixes: #14583
Reported-by: Karol Mroz <mroz.karol@gmail.com>
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/common/config_opts.h
src/rgw/rgw_http_client.cc
src/rgw/rgw_http_client.h
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_swift.cc