Close Menu
  • Home
  • Life style
    • Celebrities
    • Exercise & Training
    • Healthline
  • Exploration
    • Beauty tips
    • Business
    • Travel guides
    • Fashion
    • Technology
  • Web tutorials
    • Hosting & Servers
    • Blogger guides
    • WordPress guides
  • English
    • Tiếng Việt
    • Hmoob
    • English
Facebook YouTube X (Twitter) Instagram
Trending
  • Lionel Messi and Cristiano Ronaldo: The Great Race to 1,000 Goals
  • Protecting Servers Against AI Attacks: From Identity to the Supply Chain
  • Late-Summer Travel in Vietnam 2026: Plan a Less Crowded, Less Rainy Itinerary
  • Protecting WordPress Against AI Bots and Unknown Crawlers
  • Install Let’s Encrypt SSL on Ubuntu with OpenLiteSpeed and Automatic Renewal
  • AI-Powered Operational Optimization for Small Businesses: A 30-Day Testing Framework
  • Optimizing a Blog for Google AI Overviews and AI Mode
  • Diagnosis and Treatment of Severe Pneumonia: CAP, HAP, VAP, and Aspiration Pneumonia
Facebook YouTube X (Twitter) Instagram
SaibABCSaibABC
Chú thích cho quảng cáo
  • Home
  • Life style
    1. Celebrities
    2. Exercise & Training
    3. Healthline
    4. View All

    Lionel Messi and Cristiano Ronaldo: The Great Race to 1,000 Goals

    30/08/2026

    Comparing Lionel Messi and Cristiano Ronaldo: Their Complete Careers

    30/08/2026

    Celebrities Move to Video Podcasts: The New Era of Talk Shows

    30/08/2026

    Taylor Swift Protects Her Voice Against AI: The Fight Against Deepfakes

    30/08/2026

    Five-Minute Office Exercises: A Snack-Sized Movement Schedule

    30/08/2026

    Best Exercises to Strengthen Your Core: From Beginner to Advanced

    30/08/2026

    Diagnosis and Treatment of Severe Pneumonia: CAP, HAP, VAP, and Aspiration Pneumonia

    30/08/2026

    Preventing Dengue at Home: A Mosquito Control and Severe Symptom Checklist

    30/08/2026

    Self-Directed Health with Wearables: Use Data Correctly, Do Not Self-Diagnose

    30/08/2026

    Empowering Health: Prioritize Early Cancer Screenings for Better Well-being

    30/08/2026

    Lionel Messi and Cristiano Ronaldo: The Great Race to 1,000 Goals

    30/08/2026

    Diagnosis and Treatment of Severe Pneumonia: CAP, HAP, VAP, and Aspiration Pneumonia

    30/08/2026

    Preventing Dengue at Home: A Mosquito Control and Severe Symptom Checklist

    30/08/2026

    Preparing for the Business Peak Season: Capacity, Staffing, and Cash Flow Spreadsheet

    30/08/2026
  • Exploration
    1. Beauty tips
    2. Business
    3. Travel guides
    4. Fashion
    5. Technology
    Featured

    Late-Summer Travel in Vietnam 2026: Plan a Less Crowded, Less Rainy Itinerary

    By Nuj Coom30/08/2026
    Recent

    Late-Summer Travel in Vietnam 2026: Plan a Less Crowded, Less Rainy Itinerary

    30/08/2026

    AI-Powered Operational Optimization for Small Businesses: A 30-Day Testing Framework

    30/08/2026

    How to Block OTA Updates on iPhone and iPad Using Block OTA

    30/08/2026
  • Web tutorials
    1. Hosting & Servers
    2. Blogger guides
    3. WordPress guides
    4. View All

    Protecting Servers Against AI Attacks: From Identity to the Supply Chain

    30/08/2026

    Install Let’s Encrypt SSL on Ubuntu with OpenLiteSpeed and Automatic Renewal

    30/08/2026

    How to Install the LAMP Stack: Linux, Apache, MySQL, and PHP on Ubuntu

    30/08/2026

    How to secure Apache with Let’s Encrypt on Ubuntu

    30/08/2026

    Optimizing a Blog for Google AI Overviews and AI Mode

    30/08/2026

    Repurposing Blog Content: Turn One Article into 5 Formats

    30/08/2026

    12 Best AI Content Writing Tools for Bloggers in 2026

    30/08/2026

    How to Get Your Blog Into Google Discover After the Google Discover Core Update 2026

    30/08/2026

    Protecting WordPress Against AI Bots and Unknown Crawlers

    30/08/2026

    How to Install the LAMP Stack: Linux, Apache, MySQL, and PHP on Ubuntu

    30/08/2026

    12 Best AI Content Writing Tools for Bloggers in 2026

    30/08/2026

    Check WordPress Plugins Before Updating: A 24-Hour Process

    30/08/2026

    Protecting Servers Against AI Attacks: From Identity to the Supply Chain

    30/08/2026

    Protecting WordPress Against AI Bots and Unknown Crawlers

    30/08/2026

    Install Let’s Encrypt SSL on Ubuntu with OpenLiteSpeed and Automatic Renewal

    30/08/2026

    Optimizing a Blog for Google AI Overviews and AI Mode

    30/08/2026
  • English
    • Tiếng Việt
    • Hmoob
    • English
SaibABCSaibABC
Home»Web tutorials»Hosting & Servers»Install Let’s Encrypt SSL on Ubuntu with OpenLiteSpeed and Automatic Renewal
Hosting & Servers 3 Mins ReadNo Comments

Install Let’s Encrypt SSL on Ubuntu with OpenLiteSpeed and Automatic Renewal

Nuj CoomBy Nuj Coom
Facebook Twitter Pinterest LinkedIn Tumblr Email
Chú thích cho quảng cáo

Contents

  1. Introduction to Let’s Encrypt SSL
  2. Prerequisites for Installing Let’s Encrypt SSL
  3. Install Certbot: Let’s Encrypt SSL
  4. Choose how you want to run Certbot:
    1. Do you agree to temporarily take your website offline?
    2. Installing your certificate
  5. Check Let’s Encrypt SSL automatic renewal
  6. Confirm that Certbot is working

Introduction to Let’s Encrypt SSL

Let’s Encrypt is an open, automated certificate authority that provides free TLS/SSL certificates for the public’s benefit. The service is provided by the Internet Security Research Group (ISRG). This guide will show you how to install a Let’s Encrypt SSL certificate on an Ubuntu 20.04 server with OpenLiteSpeed (~Apache) using the Certbot installer. After completing this guide, your server will have a valid certificate and redirect all HTTP requests to HTTPS.

Prerequisites for Installing Let’s Encrypt SSL

Let’s Encrypt SSL: This guide assumes that you have deployed an Ubuntu server from Vultr with OpenLiteSpeed or Apache, a domain pointing to the server’s IP address, and that you are logged in as root.

Install Certbot: Let’s Encrypt SSL

Installing Let’s Encrypt SSL: The recommended method for installing Certbot is using Snap.

Verify that snapd is up to date.

$ sudo snap install core; sudo snap refresh core

Remove certbot-auto and any other Certbot packages already present on your operating system.

Chú thích cho quảng cáo
$ sudo apt-get remove certbot

Install Certbot with Snap.

$ sudo snap install --classic certbot

Symlink Certbot to /usr/bin.

$ sudo ln -s /snap/bin/certbot /usr/bin/certbot

Choose how you want to run Certbot:

Do you agree to temporarily take your website offline?

  • Yes, my web server is not currently running on this machine.
    Stop your web server, then run this command to obtain a certificate. Certbot will temporarily start a web server on your machine.
$ sudo certbot certonly --standalone
  • No, I need to keep my web server running.
    If you have a web server using port 80 and do not want to stop it while Certbot runs, execute this command and follow the instructions in the terminal.
$ sudo certbot certonly --webroot

To use the webroot plugin, your server must be configured to serve files from hidden directories. If /.well-known is handled specially in your web server configuration, you may need to modify the configuration to ensure that the files inside /.well-known/acme-challenge are served by the web server.

Important note


Installing your certificate

You need to install the new certificate in your web server’s configuration file.

Check Let’s Encrypt SSL automatic renewal

The Certbot packages on your system include either a cron job or a timer system systemd that will automatically renew your certificates before they expire. You will not need to run Certbot again unless you change the configuration. You can test automatic renewal for your certificates by running this command:

$ sudo certbot renew --dry-run

The certbot renewal command is installed in one of the following locations:

/etc/crontab/ ;/etc/cron.*/* ;systemctl list-timers

If automatic renewal fails, check the automatic renewal request at /etc/letsencrypt/renewal/domain.com.conf to see whether it has been configured correctly (example below).

renew_before_expiry = 30 days
version = 2.9.0
archive_dir = /etc/letsencrypt/archive/saibabc.com
cert = /etc/letsencrypt/live/saibabc.com/cert.pem
privkey = /etc/letsencrypt/live/saibabc.com/privkey.pem
chain = /etc/letsencrypt/live/saibabc.com/chain.pem
fullchain = /etc/letsencrypt/live/saibabc.com/fullchain.pem
Options used in the renewal process
[renewalparams]
account = 56bb8680ab21b3db38f6d756e69139be
authenticator = webroot
webroot_path = /var/www/html/saibabc.com
server = https://acme-v02.api.letsencrypt.org/directory
key_type = ecdsa
[[webroot_map]]
saibabc.com = /var/www/html/saibabc.com
www.saibabc.com = /var/www/html/saibabc.com

Confirm that Certbot is working

To confirm that your website has been set up correctly, visit https://yourwebsite.com/ in a browser and look for the padlock icon in the URL bar.

Congratulations, you have completed the installation of Let’s Encrypt SSL with automatic renewal before expiration.

Read more: Improve Security and Performance with Ubuntu Server: Installation Guide

Chú thích cho quảng cáo
Featured Let’s Encrypt OpenLiteSpeed Ubuntu
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous ArticleAI-Powered Operational Optimization for Small Businesses: A 30-Day Testing Framework
Next Article Protecting WordPress Against AI Bots and Unknown Crawlers
Nuj Coom
  • Website
  • Facebook
  • X (Twitter)
  • Instagram

Related Posts

Protecting Servers Against AI Attacks: From Identity to the Supply Chain

30/08/2026

Preventing Dengue at Home: A Mosquito Control and Severe Symptom Checklist

30/08/2026

How to Install the LAMP Stack: Linux, Apache, MySQL, and PHP on Ubuntu

30/08/2026
Add A Comment
Leave A Reply Cancel Reply

Latest posts

AI-Powered Operational Optimization for Small Businesses: A 30-Day Testing Framework

15 Most Popular Celebrities in the World of All Time

Improve INP for a Blog: Measure and Fix It with PageSpeed Insights and Chrome DevTools

Protecting WordPress Against AI Bots and Unknown Crawlers

Cloud Repatriation for Websites: When Should You Move to a VPS or Bare Metal?

Advertisement
Chú thích cho quảng cáo

SUBSCRIBE TO UPDATES

Get the latest creative news from SaibABC.Com on web tips, design, and business.

Copyright © 2024. Designed by NujCoom.
  • Home
  • Contact
  • Privacy
  • Tiếng Việt
  • Hmoob

Type above and press Enter to search. Press Esc to cancel.