Skip to content

Instantly share code, notes, and snippets.

@noahlz
Last active January 11, 2022 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noahlz/cde181438b18b6a74626f1a3ed73f26b to your computer and use it in GitHub Desktop.
Save noahlz/cde181438b18b6a74626f1a3ed73f26b to your computer and use it in GitHub Desktop.
HOWTO Upgrade to TLS 1.2 on Ubuntu 12.04 LTS

Hacker News actually made my life better:

https://news.ycombinator.com/item?id=13539034

Test procedure that doesn't require 3rd-party libs:

  • For Python 2:
$ python -c "import json, urllib2; print json.load(urllib2.urlopen('https://www.howsmyssl.com/a/check'))['tls_version']"
  • For Python 3:
$ python3 -c "import json, urllib.request; print(json.loads(urllib.request.urlopen('https://www.howsmyssl.com/a/check').read().decod

http://pyfound.blogspot.com/2017/01/time-to-upgrade-your-python-tls-v12.html

https://askubuntu.com/questions/429385/upgrade-openssl-on-ubuntu-12-04

Execute the following commands (sudo required)

sudo apt-get update
sudo apt-get install openssl libssl-dev

This should really be a chef recipe...that needs to execute first before pip - otherwise the chef run fails.

@Robogeek95
Copy link

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment