From 2f544dad9f65c8d817c6c6ca1557422593dea043 Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Wed, 1 Sep 2010 12:04:46 +0200 Subject: [PATCH] - disable sslcertck for http --- osc/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/osc/conf.py b/osc/conf.py index 6ce2c4e0..d36c4fcb 100644 --- a/osc/conf.py +++ b/osc/conf.py @@ -759,6 +759,9 @@ def get_config(override_conffile = None, if not 'sslcertck' in api_host_options[apiurl]: api_host_options[apiurl]['sslcertck'] = True + if scheme == 'http': + api_host_options[apiurl]['sslcertck'] = False + if cp.has_option(url, 'trusted_prj'): api_host_options[apiurl]['trusted_prj'] = cp.get(url, 'trusted_prj').split(' ') else: