Install pyopenssl to your python
pip install pyopenssl ndg-httpsclient pyasn1
Make sure that you put the previous line in frappe virtual environment.
like /home/frappe/frappe-bench/env/bin/pip
/home/frappe/frappe-bench/env/bin/pip install pyopenssl ndg-httpsclient pyasn1