KojiWrapper: include serverca in session_opts

If we have a custom server CA certificate, it needs to be generally
available, and not just used when logging in so that SSL verification
works.

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
This commit is contained in:
Owen W. Taylor 2017-08-21 07:37:01 -04:00
parent a63e4746c9
commit 49c6abcfea

View File

@ -41,6 +41,7 @@ class KojiWrapper(object):
'max_retries', 'retry_interval', 'anon_retry',
'offline_retry', 'offline_retry_interval',
'debug', 'debug_xmlrpc', 'krb_rdns',
'serverca',
'use_fast_upload'):
value = getattr(self.koji_module.config, key, None)
if value is not None: