:Default: ``-1``
+``rgw verify ssl``
+
+:Description: Verify SSL certificates while making requests.
+:Type: Boolean
+:Default: ``true``
+
+
Regions
=======
OPTION(rgw_thread_pool_size, OPT_INT, 100)
OPTION(rgw_num_control_oids, OPT_INT, 8)
OPTION(rgw_num_rados_handles, OPT_U32, 1)
+OPTION(rgw_verify_ssl, OPT_BOOL, true) // should http_client try to verify ssl when sent https request
/* The following are tunables for caches of RGW NFS (and other file
* client) objects.
if (has_send_len) {
curl_easy_setopt(easy_handle, CURLOPT_INFILESIZE, (void *)send_len);
}
+ if (!verify_ssl) {
+ curl_easy_setopt(easy_handle, CURLOPT_SSL_VERIFYPEER, 0L);
+ curl_easy_setopt(easy_handle, CURLOPT_SSL_VERIFYHOST, 0L);
+ dout(20) << "ssl verification is set to off" << dendl;
+ }
curl_easy_setopt(easy_handle, CURLOPT_PRIVATE, (void *)req_data);
return 0;
http_status(HTTP_STATUS_NOSTATUS),
req_data(nullptr),
user_info(nullptr),
- verify_ssl(true),
+ verify_ssl(cct->_conf->rgw_verify_ssl),
cct(cct) {
}