How to Install Letsencrypt Certbot for Nginx on Ubuntu Bionic Beaver

Simply follow this script:

1apt update -y
2apt install software-properties-common -y
3add-apt-repository universe -y
4add-apt-repository ppa:certbot/certbot -y
5apt update -y
6install certbot python-certbot-nginx -y
7certbot --nginx

Your server should now be all set to relay on https. 🙂
As for Apache, you could refer to this article
Happy networking gents!

comments powered by Disqus