Secure Apache with Lets encrypt
First run the following command, sudo apt update && sudo apt upgrade.
Then install the actual program/application with command, sudo apt install certbot python3-certbot-apache.
Now that the program/application has been installed, run the program with following command and follow instructions, sudo certbot --apache.