Let's Encrypt Livecode

Today I managed to install a let's Encrypt certificate on DigitalOcean so that it works with revIgniter and Livecode.

# Upgrading the certificate

To upgrade the certificate manually you need to ssh to the server and issue the following commands to the certbot-auto script:

root@LiveWorld:~# cd tmp/ root@LiveWorld:~/tmp# ./certbot-auto --apache Upgrading certbot-auto 0.12.0 to 0.14.2... Replacing certbot-auto... Creating virtual environment... Installing Python packages... Installation succeeded. Saving debug log to /var/log/letsencrypt/letsencrypt.log Which names would you like to activate HTTPS for? ------------------------------------------------------------------------------- 1: livecode.world

and follow the instructions.

# Installation

I had an old certificate installed which i needed to manually remove from:

nano /etc/apache2/sites-enabled/000-default.conf

I then issued the commands found by following the instructions found certbot.eff.org

Which created the following conf files:

000-default.conf 000-default-le-ssl.conf

In the directory:

/etc/apache2/sites-enabled

which in term is usually sym-linked to files inside:

/etc/apache2/sites-available

Note: the reason for having to manually edit the 000-default.conf file was because it over-rides thenewly created 000-default-le-ssl.conf file that

https://certbot.eff.org/docs/using.html#apache

# See also

The following instructions are thanks to Mike Bonner and describe how to get Livecode Server running on DigitalOcean:

revIgniter is a toolkit for people who develop web projects using LiveCode.revIgniter is modelled on CodeIgniter - revigniter.com