SSL Certificates in 30 Seconds
See how to install, setup, and configure LetsEncrypt (certbot) with Nginx to get an SSL certificate in something like 30 seconds. This will help you get and configure an TSL certificate that auto-renews itself via LetsEncrypt - you never have to think about it again! When you install certbot, it will add a systemd timer. This timer periodically checks if the certificate needs renewing, and if so, does it! Configuration in /etc/letsencrypt keeps information about the certificates installed on the server, including post-renewal hooks (like running "service nginx reload"). In our case, we'll use certbot one-line command to obtain the certificate. We'll make sure Nginx is configured to allow requests to a .well-known directory. Finally we see how Nginx should be configured to use the generated TLS certificates (thanks to H5BP Nginx server configs for making it so easy). * LetsEncrypt https://letsencrypt.org/ * Certbot https://certbot.eff.org/ * H5BP Nginx: https://github.com/h5bp/server-configs-nginx * Video on setting up H5BP with Nginx: https://www.youtube.com/watch?v=d6kfuPo3Cnw&ab_channel=ChrisFidao ⌚️ Timestamps 00:00 Intro 00:05 Why this will be easy 00:22 Where we're starting from (setup) 01:03 Installing Certbot (if you don't have it) 01:31 Starting the race - a cert in 30 seconds! 03:46 Understanding what we did 04:19 Important Nginx Redirects 07:07 I use H5BP and you can too
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.