How to Install Let's Encrypt SSL on Nginx on Ubuntu 20.04

First, we need to install Certbot on the server by running the following command

sudo apt install certbot python3-certbot-nginx

 

Note: Make sure that your site is properly configured in Nginx before installing SSL

Now, Install Let's Encrypt by running the following command

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

 

After the Installation of Let's Encrypt SSL, test the auto renewal by running the following command

sudo systemctl status certbot.timer

 

And to test the renewal process, run the following command to do a dry run:

sudo certbot renew --dry-run

 

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

WHMCS Default Emails Sent Settings

This blog can help you to understand the default WHMCS Email settings when users create accounts....

How to check nameservers of my website

Dear Customer,Please follow the below steps to check the nameservers of your website.Open...

How to create ticket for support in client area

Hello   To create a ticket first you should log in to https://clients.activeservers.in/ Go...

Screen access for remote support

To access the customer's machine we are using Quick assist. To install a Quick Assist please...

Back up option for your hosting

Hello All,We all know the value of our data. Companies generate/gather website data with lots...

Powered by WHMCompleteSolution