2 ms·
Actually, you are right (but should have been tested on CentOS 6&7): Linux localhost.localdomain 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC
by smarx007 10y ago
Actually, you are right (but should have been tested on CentOS 6&7):
Linux localhost.localdomain 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Python 2.6.6
TLS 1.2
Linux localhost.localdomain 3.10.0-514.2.2.el7.x86_64 #1 SMP Tue Dec 6 23:06:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Python 2.7.5
TLS 1.2
- amyjess 10y agoTested on RHEL 7 (actual RHEL, not CentOS), got TLS 1.2 for both: $ python2 --version Python 2.7.5 $ python2 -c "import json, urllib2; print json.load(urllib2.urlopen('https://www.howsmyssl.com/a/check'))['tls_version']" TLS 1.2 $ python3 --version Python 3.4.5 $ python3 -c "import json, urllib.request; print(json.loads(urllib.request.urlopen('https://www.howsmyssl.com/a/check').read().decode('UTF-8'))['tls_version'])" TLS 1.2