Hello,
When I try yo install Let's encrypt extension on Ubuntu Trusty, and le-installer is launched, I get this warning :
Looking at the webpage mentioned above, I see that it's a problem of Python's version, and that to fix that I should install pyOpenSSL (python3-openssl package under Ubuntu). Is it enough just to install this package, or should I do something else after ? I've read that when pyOpenSSL is installed using "pip" command :
When I try yo install Let's encrypt extension on Ubuntu Trusty, and le-installer is launched, I get this warning :
Creating virtual environment...
Updating letsencrypt and virtual environment dependencies...
/usr/local/psa/var/modules/letsencrypt/venv.8oGbY/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
SNIMissingWarning
Looking at the webpage mentioned above, I see that it's a problem of Python's version, and that to fix that I should install pyOpenSSL (python3-openssl package under Ubuntu). Is it enough just to install this package, or should I do something else after ? I've read that when pyOpenSSL is installed using "pip" command :
To use the Python OpenSSL bindings instead, you’ll need to install the required packages:
$ pip install pyopenssl ndg-httpsclient pyasn1
If cryptography fails to install as a dependency, make sure you have libffi available on your system and run pip install cryptography.
Once the packages are installed, you can tell urllib3 to switch the ssl backend to PyOpenSSL with inject_into_urllib3():
import urllib3.contrib.pyopenssl
urllib3.contrib.pyopenssl.inject_into_urllib3()
Now you can continue using urllib3 as you normally would.