/add-sni-pkgs.diff Secret
Created
July 29, 2016 12:50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From d6f679e966787d19d16bce80226f67661b78e4a6 Mon Sep 17 00:00:00 2001 | |
From: Major Hayden <major@mhtx.net> | |
Date: Fri, 29 Jul 2016 07:48:22 -0500 | |
Subject: [PATCH] Add SNI support via OS packages | |
Some Linux distribution releases, such as CentOS 7 and Xenial, have | |
trouble validating SSL certificates when using get_url with servers | |
that use Server Name Indication (SNI). | |
This patch adds packages for those distributions that allow Python | |
to validate connections with servers using SNI. | |
--- | |
other-requirements.txt | 10 +++++++++- | |
1 file changed, 9 insertions(+), 1 deletion(-) | |
diff --git a/other-requirements.txt b/other-requirements.txt | |
index a145f8b..603ad91 100644 | |
--- a/other-requirements.txt | |
+++ b/other-requirements.txt | |
@@ -22,5 +22,13 @@ libffi-dev [platform:dpkg] | |
libffi-devel [platform:rpm] | |
openssl-devel [platform:rpm] | |
-# For selinux | |
+# For SELinux | |
libselinux-python [platform:rpm] | |
+ | |
+# For SSL SNI support | |
+python-pyasn1 [platform:dpkg] | |
+python-ndg-httpsclient [platform:dpkg] | |
+epel-release [platform:rpm] | |
+python-pyasn1 [platform:rpm] | |
+pyOpenSSL [platform:rpm] | |
+python-ndg_httpsclient [platform:rpm] | |
-- | |
2.7.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment