Certbot¶
After installing certbot (https://certbot.eff.org), you will be able to automatically install the SSL certificates provided by Let’s Encypt (https://letsencrypt.org).
Using certbot greatly simplifies the certificate creation and Nginx configuration phase:
sudo certbot --nginx
By answering a few simple questions the command will automatically recognize the domains configured in Nginx and install an SSL certificate for them.
It will also be possible to choose whether to automatically redirect http requests to https.