How to install & Setup Let’s encrypt on Centos 6.x and 7.x
The thing about CentOs 6.x ( Centos 6.5, 6.6, 6.7 etc ) is it comes with Python 2.6 where as Let’s Encrypt supports Python 2.7+ only. But, installing Python 2.7 in Centos 6.x is pretty simple.
Installing Python 2.7 in Centos 6.x
This step is only for Centos 6.x
# Install Epel Repository yum install epel-release # Install IUS Repository rpm -ivh https://rhel6.iuscommunity.org/ius-release.rpm # Install Python 2.7 and Git yum --enablerepo=ius install git python27 python27-devel python27-pip python27-setuptools python27-virtualenv -y
Setting up Lets encrypt ( Below steps are common for Centos 6 and 7 )
# Install git yum install git # Install EPEL repo if not present yum install epel-release # Now let us clone the github repository of Let's encrypt cd /root/ git clone https://github.com/letsencrypt/letsencrypt
suggest run yum
sudo yum install gcc libffi-devel python-devel openssl-devel
only cert make only please
./letsencrypt-auto certonly