28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
From 1c27fda076e6ef4b82dc1b0b604b920ce6251633 Mon Sep 17 00:00:00 2001
|
|
From: Ralph Bean <rbean@redhat.com>
|
|
Date: Wed, 25 Sep 2013 13:21:32 -0400
|
|
Subject: [PATCH 1/3] default-ssl-cert-validate
|
|
|
|
---
|
|
urllib3/connectionpool.py | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/urllib3/connectionpool.py b/urllib3/connectionpool.py
|
|
index 691d4e2..551b6fd 100644
|
|
--- a/urllib3/connectionpool.py
|
|
+++ b/urllib3/connectionpool.py
|
|
@@ -644,8 +644,8 @@ class HTTPSConnectionPool(HTTPConnectionPool):
|
|
strict=False, timeout=None, maxsize=1,
|
|
block=False, headers=None,
|
|
_proxy=None, _proxy_headers=None,
|
|
- key_file=None, cert_file=None, cert_reqs=None,
|
|
- ca_certs=None, ssl_version=None,
|
|
+ key_file=None, cert_file=None, cert_reqs=ssl.CERT_REQUIRED,
|
|
+ ca_certs='/etc/ssl/certs/ca-certificates.crt', ssl_version=None,
|
|
assert_hostname=None, assert_fingerprint=None):
|
|
|
|
HTTPConnectionPool.__init__(self, host, port, strict, timeout, maxsize,
|
|
--
|
|
1.8.3.1
|
|
|