I just recently tried using Let's Encrypt to generate free SSL certs for a small website I'm running on a personal server. When I ran the letsencrypt-auto
tool everything seemed to work, although a string of errors flew by in the console among which were SNIMissingWarning
and InsecurePlatformWarning
Doing some research I found that both of these errors were likely related to my version of Python: https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning
I tried using apt-get
to upgrade Python but it only bumped me from 2.7.3 to 2.7.6 -- not far enough as I need 2.7.9
So I went to Python's website, downloaded the source, and ran ./configure
, make
, and make install
. Now I'm getting this strange behavior:
root@my-server:~# which python
/usr/local/bin/python
root@my-server:~# /usr/local/bin/python --version
Python 2.7.10
root@my-server:~# python --version
Python 2.7.6
Can someone explain this or tell me how to fix this?