I've done a dirty workaround editing by hand the code into /usr/lib/python2.7/dist-packages/requests/sessions.py. Is there any more orthodox method to do it?
Fabrizio On 18 June 2014 17:00, Fabrizio G. Ventola <[email protected]> wrote: > Hi everyone, > > I'm trying to sync data and metadata between zones of different > regions through the Ceph REST interface with radosgw-agent. > There's a way to set radosgw-agent to do NOT verify the SSL > certificate (of remote host)? > > I've looked into python source code on github but didn't helped, I've > checked on the help page running radosgw-agent -h but any parameter > refers about SSL certificates settings. > By the way I get the following error message: > > ceph@*********:~$ sudo radosgw-agent -v -c inter-region-data-sync.conf > DEBUG:boto:StringToSign: > GET > > > Wed, 18 Jun 2014 14:25:01 GMT > /admin/config > DEBUG:boto:url = 'https://******' > params={} > headers={'Date': 'Wed, 18 Jun 2014 14:25:01 GMT', 'Content-Length': > '0', 'Authorization': 'AWS **************', 'User-Agent': 'Boto/2.2.2 > (linux2)'} > data=None > INFO:urllib3.connectionpool:Starting new HTTPS connection (1): ************* > ERROR:root:Could not retrieve region map from destination > Traceback (most recent call last): > File "/usr/lib/python2.7/dist-packages/radosgw_agent/cli.py", line > 269, in main > region_map = client.get_region_map(dest_conn) > File "/usr/lib/python2.7/dist-packages/radosgw_agent/client.py", > line 391, in get_region_map > region_map = request(connection, 'get', 'admin/config') > File "/usr/lib/python2.7/dist-packages/radosgw_agent/client.py", > line 153, in request > result = handler(url, params=params, headers=request.headers, data=data) > File "/usr/lib/python2.7/dist-packages/requests/api.py", line 55, in get > return request('get', url, **kwargs) > File "/usr/lib/python2.7/dist-packages/requests/api.py", line 44, in request > return session.request(method=method, url=url, **kwargs) > File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line > 279, in request > resp = self.send(prep, stream=stream, timeout=timeout, > verify=verify, cert=cert, proxies=proxies) > File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line > 374, in send > r = adapter.send(request, **kwargs) > File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line > 213, in send > raise SSLError(e) > SSLError: [Errno 1] _ssl.c:504: error:14090086:SSL > routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed > > > Cheers, > Fabrizio _______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
