DEV Community

Isaac kumi
Isaac kumi

Posted on

Configure SSL for Free with Let's Encrypt

Update the Snap application, which is used to download application bundles. Snap comes pre-installed on Ubuntu 22.04.

sudo snap install core && sudo snap refresh core
Enter fullscreen mode Exit fullscreen mode

Install core

Remove the default Ubuntu Certbot installation.

sudo apt remove certbot
Enter fullscreen mode Exit fullscreen mode

remove pre-installed certbot

Install Certbot.

sudo snap install --classic certbot
Enter fullscreen mode Exit fullscreen mode

install certbot

Download a certificate for the domain using certbot

sudo certbot --apache
Enter fullscreen mode Exit fullscreen mode

Enter domain name when asked eg: isaackumi.com

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more