Gweb.network Computer|IT|Network Security

Creating a Strong RSA Key with Letsencrypt Certificate for Nginx

on Nov. 25, 2018, 9:20 a.m.

First download and install certbot for Debian
sudo apt-get install certbot python-certbot-nginx

After the certbot install run modify the below command with your domain and it will automatically modify you nginx configuration to use the new certificate
certbot --nginx --rsa-key-size 4096 -d