Merge pull request #27301 from twangboy/fix_27081

Pass ca_bundle for windows (fixes SSL Error)
This commit is contained in:
Mike Place 2015-09-22 13:00:44 -06:00
commit aaa2db9943

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 verify_ssl:
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'])