Let's Encrypt

Easy steps to move from http to https in free!. It can be set as a cron job to get renewed automatically.Make SuiteCRM,SugarCRM,WordPress Secure (https) free using Letsencrypt.

Letsencrypt  started providing Free SSL certificates which are having very easy steps to install SSL certificates. Moreover, it automatically takes off much technical stuff with few commands.

All you need to have shell access with root privileges. Additionally, you need to set a cron job for automatic renewals as they expire in 90 days.

Prerequisites:

Port 443 and Port 80 must open.  Apache SSL module must installed. Virtual Host must be created before and SuiteCRM is running from Virtual host.

Here are a few simple steps to install it.

As this process will use port 80 or 443 , let us stop Apache to using it.

 service apache2 stop

download certbot

sudo wget https://dl.eff.org/certbot-auto -O /usr/sbin/certbot-auto

Give it correct permissions

sudo chmod a+x /usr/sbin/certbot-auto

Get SSL verified and download certificates

certbot-auto certonly --standalone -d your_domain.org  www.your_domain.org

Check SSL certificate  

cd /etc/letsencrypt/live/your_domain.org

For Automatically Renew

crontab -e 
And put this line at the bottom
0 0 1 * * /usr/bin/letsencrypt renew >> /var/log/letsencrypt-renew.log

For Manual Renew of Specific Domain

letsencrypt renew

For Manual Renew of All Domains

certbot-auto renew

Above 5 steps works perfectly on ubuntu 14.04 , 16.04.

Put this in your HTTP virtual host file for automatic redirection to https

Redirect / https://Yourdomain.com/

As a result, no need to pay for annual charges for expensive certificates and installation hassles. Just put a cron job which handles automatic renewals in every 90 days.  It will give an extra security layer SugarCRM / SuiteCRM instances.

In our next Article, I am going to tell you make Virtual Host on Ubuntu 14.04 or above

Related Posts