Web Application Setup - HTTPS Set Up

webapps https security

set up Let’s Encrypt

  1. Install certbot

    ... sudo apt-get update
    ... sudo apt-get install software-properties-common
    ... sudo add-apt-repository ppa:certbot/certbot
    ... sudo apt-get update
    ... sudo apt-get install python-certbot-nginx 
    
  2. Run certbot

    ... sudo certbot --nginx
    
  3. Automate renewal

    ... sudo certbot renew --dry-run
    
  4. Reset firewall to only allow HTTPS

    ... sudo ufw
    

Prev Step: Nginx Setup