Centos 6 support?


Hi !

We are using production servers running on centos 6.3.
In the installation guide, it points only on centos 7 https://letsencrypt.readthedocs.org/en/latest/using.html#centos-7 .
Is there any reason LE won’t work on centos 6.3 ?

Thanks to the community for replying.



Maybe related to python version ? CentOS 6 defaults to Python 2.6 vs CentOS 7 defaults to Python 2.7 ?


yup it’s new to CentOS 6 using 2.6 defaults and not supported by letsencrypt client, so I installed python 2.7.10 on CentOS 6 and works https://github.com/letsencrypt/letsencrypt/issues/734


Latest Python RPM I see for CentOS 5 is python-2.4.3-56.el5. Is the LE client not going to work?


I think letsencrypt client needs python 2.7 at least if @schoen can confirm

For myself, i have my own Centmin Mod LEMP web stack which can install 3rd party YUM repos for missing packages. One of those is for Rackspace backed IUS Community YUM repo https://iuscommunity.org/pages/Repos.html which supports RHEL/CentOS 5, 6, 7 and has python 2.7, 3.2, 3.3, 3.4 available as side packages which don’t interfere with existing default OS python versions.

Once IUS Community YUM repo is installed you can install Python 2.7 via yum

yum -y install python27 python27-devel python27-pip python27-setuptools python27-tools python27-virtualenv --enablerepo=ius

so you can call python 2.7 via python2.7 command

python2.7 --version            
Python 2.7.10

so instead of

virtualenv --no-site-packages -p python2 venv


virtualenv --no-site-packages -p python2.7 venv

FYI, IUS Community Repo requires the EPEL Repo installed too.

edit: unfortunately still ran into other problems on CentOS 6 https://github.com/letsencrypt/letsencrypt/issues/734#issuecomment-135944187 seems python 2.6 for centos is the one that works ! edit: update again python 2.7 works too now


We’ve been discussing whether or not to continue support for Python 2.6, but in the current development tree we do still officially have Python 2.6 support. So as you found, if there are compatibility problems with CentOS 6, they’re probably a result of another problem.


thanks @schoen

I resolved my issues in github issue https://github.com/letsencrypt/letsencrypt/issues/735#issuecomment-136097505 by doing a fresh install of the client. So on CentOS 6.7 both python 2.6 native version and IUS Community Repo installed python 2.7 work for letsencrypt


Hi. I have many sites running on CentOS 6.7 and Drupal. I got letsencrypt working with cron in a non-disruptive way. I created a script and instructions here: https://github.com/mfgering/letsencrypt-lw

I’d be glad for more/better ideas.