https://anansewaa.com/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127-0-1-1-for-servername-error-on-ubuntu/
https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-18-04
1)
sudo systemctl restart apache2
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
To fix this problem, we need to edit the apache2.conf file. Open the terminal and type this command:
sudo vim /etc/apache2/apache2.conf
However, at the very bottom of that file and add this line:
ServerName localhost
This should solve the problem and the error code AH00558 should now be gone. Now restart Apache server using the following command:
sudo systemctl restart apache2
2)
Now proceed with CERTBOT install
3) test validity of SSL certs
https://www.ssllabs.com/ssltest/analyze.html?d=jcadima.dev
https://www.ssllabs.com/ssltest/analyze.html?d=www.jcadima.dev