# Note: depends on python-cryptography
wget -c https://github.com/pyca/pyopenssl/archive/19.1.0/pyopenssl-19.1.0.tar.gz
tar -xzf pyopenssl-19.1.0.tar.gz
cd pyopenssl-19.1.0
python3 setup.py build
python3 setup.py install # as root
if which python2; then
  python2 setup.py build
  python2 setup.py install # as root
fi