Hypertext transfer Protocol HTTP is a protocol that is used for viewing webpages. In standard HTTP, all information is sent in clear text, and it is vulnerable and insecure.
Personal sensitive data can be exposed to hackers. Thats why we need Secure HTTP. It encrypts the data that is being retrieved by HTTP.
HTTPS uses a protocol that ensures security on the internet, it uses public key encryption to secure data, such as Secure Sockets Layer (SSL), Transport Layer Security (TLS) (latest industry standard, etc.)
HTTPS is important since Google flags websites without SSL as not secure, and penalizes search ranking.
/etc/letsencrypt/live/
,
sudo apt install snapd
sudo snap install core; sudo snap refresh core
sudo apt-get remove certbot
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
sudo certbot --nginx
sudo certbot renew --dry-run