Configure https with Certbot and Apache in AWS Linux

Job ID: 34992384

Budget: €30 – €250 EUR

I would like all variations of my website redirect to my domain name with "https://www.".

Linux web server with PHP in AWS with the following:

NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"

It has Certbot installed and working with the version "https://www." but version with "https://" is giving a "connection is not private" error. I've already executed the Certbot renewal command.

I would need also to configure an automated (e.g. cron) certbot certificate renewal.
Related categories: PHP Linux Apache Amazon Web Services Fedora