generate ssl certbot nginx 1

generate ssl certbot nginx

$ sudo certbot --nginx -d example.com -d www.example.com

Here is what the above code is Doing:
1. certbot is the command to run the Let’s Encrypt client.
2. –nginx tells Certbot to use the Nginx plugin.
3. -d example.com -d www.example.com tells Certbot to apply the certificate to both example.com and www.example.com.

Similar Posts