Pass ca_bundle for windows (fixes SSL Error)

This commit is contained in:
twangboy 2015-09-22 10:33:28 -06:00
parent d96462af48
commit e2fe5a60b5

View file

@ -404,6 +404,9 @@ def query(url,
log.error('The client-side certificate path that was passed is '
'not valid: {0}'.format(cert))
if salt.utils.is_windows():
req_kwargs['ca_certs'] = ca_bundle
max_body = opts.get('http_max_body', salt.config.DEFAULT_MINION_OPTS['http_max_body'])
timeout = opts.get('http_request_timeout', salt.config.DEFAULT_MINION_OPTS['http_request_timeout'])