My version: AWS Lightsail LAMP PHP 7 instance
I followed this guide to install the SSL certificates: Learn about the Bitnami HTTPS Configuration Tool
Since my stack did not include the tool I installed it as follow:
$ wget -O bncert-linux-x64.run https://downloads.bitnami.com/files/bncert/latest/bncert-linux-x64.run
$ sudo mkdir /opt/bitnami/bncert
$ sudo mv bncert-linux-x64.run /opt/bitnami/bncert/
$ sudo chmod +x /opt/bitnami/bncert/bncert-linux-x64.run
$ sudo ln -s /opt/bitnami/bncert/bncert-linux-x64.run /opt/bitnami/bncert-tool
I run then the tool to install the SSL certificates but I encountered this error:
Performing changes to your installation
The Bitnami HTTPS Configuration Tool will perform any necessary actions to your
Bitnami installation. This may take some time, please be patient.
Error: Error running crontab -u bitnami /tmp/cron20191220104701: new crontab
file is missing newline before EOF, can't install.
Press [Enter] to continue:
Some errors occurred
The configuration was applied, but some of the changes could not be applied.
Find the details below.
The configuration report is shown below.
* Removing cron entry
Find more details in the log file:
If you find any issues, please check Bitnami Support forums at:
I see that the HTTP to HTTPS redirect is working but I suppose that the auto-renew of the certificate is not working. Any suggestions to fix it?