lego logo

lego Sebastian Erhart

Use this command to install lego:
winget install --id=GoACME.lego -e

Let's Encrypt/ACME client and library written in Go

Lego is an ACME client and library written in Go designed to automate certificate management using Let's Encrypt. It provides a robust implementation of the ACME v2 protocol (RFC 8555) to obtain, renew, and revoke certificates for secure HTTPS deployments.

Key Features:

  • ACME v2 Support: Implements the latest ACME specifications to handle certificate lifecycle operations.
  • DNS Challenge Extension: Supports RFC 8737 for TLS Application-Layer Protocol Negotiation (ALPN).
  • IP Address Certificates: Complies with RFC 8738 for certificates issued to IP addresses.
  • Renewal Information Extension: Implements draft-ietf-acme-ari-03 for certificate renewals.
  • Profiles Extension Support: Aligns with draft-aaron-acme-profiles-00 for standardized ACME profiles.
  • Multi-Domain Support: Manages SAN certificates and CNAME records by default.
  • DNS Provider Integration: Supports over 150 DNS providers, including major services like Cloudflare, AWS Route 53, and Google Cloud DNS.
  • Custom Challenge Solvers: Allows implementation of custom solvers for specific use cases.
  • Certificate Bundling and OCSP Helper Functions: Simplifies certificate management and validation processes.

Audience & Benefit:

Ideal for developers, DevOps engineers, and organizations seeking seamless HTTPS deployment. Lego enables secure, automated certificate management to enhance service reliability and security without manual intervention. It can be installed via winget, ensuring easy setup in development environments.

README

Automatic Certificates and HTTPS for everyone.

Lego

Let's Encrypt client and ACME library written in Go.

Go Reference Build Status Docker Pulls

Features

Installation

How to install.

Usage

Documentation

Documentation is hosted live at https://go-acme.github.io/lego/.

DNS providers

Detailed documentation is available here.

Active24 Akamai EdgeDNS Alibaba Cloud DNS all-inkl

Amazon Lightsail Amazon Route 53 ArvanCloud Aurora DNS

Autodns Axelname Azure (deprecated) Azure DNS

Baidu Cloud Bindman Bluecat BookMyName

Brandit (deprecated) Bunny Checkdomain Civo

Cloud.ru CloudDNS Cloudflare ClouDNS

CloudXNS (Deprecated) ConoHa v2 ConoHa v3 Constellix

Core-Networks CPanel/WHM Derak Cloud deSEC.io

Designate DNSaaS for Openstack Digital Ocean DirectAdmin DNS Made Easy

dnsHome.de DNSimple DNSPod (deprecated) Domain Offensive (do.de)

Domeneshop DreamHost Duck DNS Dyn

Dynu EasyDNS Efficient IP Epik

Exoscale External program F5 XC freemyip.com

G-Core Gandi Gandi Live DNS (v5) Glesys

Go Daddy Google Cloud Google Domains Hetzner

Hosting.de Hosttech HTTP request http.net

Huawei Cloud Hurricane Electric DNS HyperOne IBM Cloud (SoftLayer)

IIJ DNS Platform Service Infoblox Infomaniak Internet Initiative Japan

Internet.bs INWX Ionos IPv64

iwantmyname Joker Joohoi's ACME-DNS Liara

Lima-City Linode (v4) Liquid Web Loopia

LuaDNS Mail-in-a-Box ManageEngine CloudDNS Manual

Metaname Metaregistrar mijn.host Mittwald

myaddr.{tools,dev,io} MyDNS.jp MythicBeasts Name.com

Namecheap Namesilo NearlyFreeSpeech.NET Netcup

Netlify Nicmanager NIFCloud Njalla

Nodion NS1 Open Telekom Cloud Oracle Cloud

OVH plesk.com Porkbun PowerDNS

Rackspace Rain Yun/雨云 RcodeZero reg.ru

Regfish RFC2136 RimuHosting RU CENTER

Sakura Cloud Scaleway Selectel Selectel v2

SelfHost.(de|eu) Servercow Shellrent Simply.com

Sonic Spaceship Stackpath Technitium

Tencent Cloud DNS Timeweb Cloud TransIP UKFast SafeDNS

Ultradns Variomedia VegaDNS Vercel

Versio.[nl|eu|uk] VinylDNS VK Cloud Volcano Engine/火山引擎

Vscale Vultr Webnames Websupport

WEDOS West.cn/西部数码 Yandex 360 Yandex Cloud

Yandex PDD Zone.ee Zonomi

If your DNS provider is not supported, please open an issue.

Versions
4.23.1
4.22.2
4.17.3
4.16.1
4.16.0
4.15.0
Website
License