Install Let’s Encrypt on Centos 7
Every one need SSL for their website, but it’s a little bit costly you know, so small blogs and websites can’t afford SSL cost. Now let’s encrypt offers free SSL for your domains guys. Let’s see how we can install let’s encrypt on Centos 7.
Install Let’s Encrypt on Centos 7
Before installing let’s encrypt make sure that mod_ssl is enabled on the server, If Apache is a web server.
If not
Step1 . Install mod_ssl
# yum -y install mod_ssl
Step 2. install epel
# yum install epel-release
Step 3. install git
# yum install git
Once you have installed the required depencies /usr/local is the directory we are going to set up the Let’s encrypt.
# cd /usr/local/ # git clone https://github.com/letsencrypt/letsencrypt # cd /usr/local/letsencrypt
Before installing the SSL make sure that the domain is pointing to the correct IP both www and without www.
# ./letsencrypt-auto --apache -d your_domain.com www.your_domain.com
It asks for some stuffs like email and Name etc,please type the necessary parameters. Once done, you can check your domain with HTTPS protocol by calling it on the browser.
If you face any troubles,please let me know