A Let's Encrypt client.
Lego is a Let's Encrypt client and ACME library written in Go.
The lego snap makes it easy to install and use lego on any Linux distribution that supports snaps.
Usage:
sudo snap install lego
sudo snap connect lego:dot-lego
sudo lego --email="you@example.com" --domains="example.com" --server=https://acme-staging-v02.api.letsencrypt.org/directory --http --http.port :8080 run