Let's Encrypt/ACME client and library written in Go https://go-acme.github.io/lego/
  • Go 99.8%
  • Go Template 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-10 14:17:38 +01:00
.github Add DNS provider for DonDominio/MrDomain (#3342) 2026-11-02 23:07:34 +01:00
acme chore: cleaning and TTL (#3344) 2026-11-02 17:08:16 +01:00
certcrypto fix: add digitalSignature to TLSALPN01 temp certificate (#3304) 2026-10-11 13:53:28 +02:00
certificate fix: add KeyType to RenewOptions 2026-09-17 19:58:54 +02:00
challenge feat(dnspersist01): add workaround for Google Trust Services (#3317) 2026-10-22 23:59:58 +02:00
cmd chore: homogeneous deprecation label in the doc 2026-11-03 00:50:40 +01:00
docs versio: provider deprecation (#3359) 2026-11-10 14:17:38 +01:00
e2e fix: forced renewal when the certificate profile is changed (#3211) 2026-07-21 16:50:15 +02:00
internal Detach v5.6.0 2026-10-28 13:04:29 +01:00
lego chore: rename generate-dns to generate (#3018) 2026-04-24 09:40:49 +02:00
log chore: improve log with duration (#3345) 2026-11-03 00:03:16 +01:00
platform/env fix: improve env file parsing on Windows (#3126) 2026-05-22 18:01:51 +02:00
providers versio: provider deprecation (#3359) 2026-11-10 14:17:38 +01:00
registration chore: improve logs and error messages (#3056) 2026-05-10 19:06:50 +02:00
.dockerignore Automatic generation of documentation (#818) 2019-03-08 19:47:06 +01:00
.gitattributes chore: remove existing files before generating new files (#2676) 2025-10-18 16:46:55 +02:00
.gitcookies.enc Add workaround for go.googlesource.com rate limit 2016-03-22 01:46:32 +01:00
.gitignore chore: add modupwiz templates (#3038) 2026-05-04 15:32:51 +02:00
.golangci.yml chore: update dependencies to major versions (#3306) 2026-10-14 23:03:01 +02:00
.goreleaser.yml feat(cli): use build tags to improve DCE (#3328) 2026-10-27 14:23:36 +01:00
buildx.Dockerfile chore: update release workflow (#2657) 2025-09-29 18:06:38 +02:00
CHANGELOG.md Prepare release v5.6.0 2026-10-28 13:04:29 +01:00
CONTRIBUTING.md docs: update required Go version (#3245) 2026-08-31 02:17:40 +00:00
Dockerfile chore: use buildx for cross-platform image builds 2023-02-26 14:27:16 +01:00
go.mod chore: update dependencies (#3334) 2026-10-28 12:45:55 +01:00
go.sum chore: update dependencies (#3334) 2026-10-28 12:45:55 +01:00
LICENSE chore: update license date 2024-10-10 22:11:07 +02:00
main.go docs: documentation update to lego v5 (#2975) 2026-04-13 12:55:42 +02:00
Makefile feat(cli): use build tags to improve DCE (#3328) 2026-10-27 14:23:36 +01:00
README.md chore: homogeneous deprecation label in the doc 2026-11-03 00:50:40 +01:00
zz_gen_version.go Detach v5.6.0 2026-10-28 13:04:29 +01:00

lego logo

Automatic Certificates and HTTPS for everyone.

Lego

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

Go Reference Build Status Docker Pulls

lego is an independent, free, and open-source project, if you value it, consider supporting it! ❤️

Everybody thinks that the others will donate, but in the end, nobody does.

So if you think that lego is worth it, please consider donating.

Features

  • ACME v2 RFC 8555
  • Comes with more than 200 DNS providers
  • Register with CA
  • Obtain certificates, both from scratch or with an existing CSR
  • Renew certificates
  • Revoke certificates
  • Robust implementation of ACME challenges:
    • HTTP (http-01)
    • DNS (dns-01)
    • TLS (tls-alpn-01)
  • SAN certificate support
  • CNAME support by default
  • Custom challenge solvers
  • Certificate bundling
  • OCSP helper function

Installation

How to install.

Usage

Documentation

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

DNS providers

Detailed documentation is available here.

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

1cloud.ru 35.com/三五互联 51DNS Abion
Active24 Akamai EdgeDNS Alibaba Cloud DNS AlibabaCloud ESA
all-inkl Alwaysdata Amazon Lightsail Amazon Route 53
Anexia CloudDNS ANS SafeDNS ArtFiles ArvanCloud
Aurora DNS Autodns Axelname Azion
Azure DNS Baidu Cloud Beget.com Binary Lane
Bindman Bluecat Bluecat v2 BookMyName
Bunny Checkdomain Civo Cloud.ru
CloudDNS Cloudflare ClouDNS CloudPress
Com Laude Connbyte ConoHa v2 ConoHa v3
Constellix Core-Networks CPanel/WHM Curanet
Czechia DanDomain DDnss (DynDNS Service) Derak Cloud
deSEC.io Designate DNSaaS for Openstack Digital Ocean Dinahosting
DirectAdmin DNS Made Easy DNS Update (RFC2136) dns.la
DNS.services DNScale DNSExit dnsHome.de
DNSimple DNSMint Domain Offensive (do.de) Domeneshop
DonDominio/MrDomain DreamHost Duck DNS Dyn
Dynadot DynDnsFree.de Dynu EasyDNS
EdgeCenter Efficient IP Epik EuroDNS
EUserv Excedo Exoscale External program
F5 XC FENO Fornex freemyip.com
FusionLayer NameSurfer G-Core Gandi Gandi Live DNS (v5)
Gehirn Gigahost.no Glesys Gname
Go Daddy (DEPRECATED) Go Daddy (v3) Google Cloud Gravity
Hetzner Hosting.de Hosting.nl Hostinger
Hosttech HostUp HTTP request http.net
Huawei Cloud Hurricane Electric DNS HyperOne IBM Cloud (SoftLayer)
IIJ DNS Platform Service Infoblox Infomaniak Internet.bs
INWX Ionos Ionos Cloud IPv64
ISPConfig 3 ISPConfig 3 - Dynamic DNS (DDNS) Module JD Cloud Joker
Joohoi's ACME-DNS Katapult KeyHelp Leaseweb
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 Myra
MythicBeasts Name.com Namecheap Namesilo
NearlyFreeSpeech.NET NederHost Neodigit Netcup (Legacy API)
Netcup v1 Netlify Netnod NexDNS
Ngenix Nicmanager NIFCloud Njalla
Nodion NordName NS1 Octenium
omg.lol Online.net Open Telekom Cloud Openprovider
OpusDNS Oracle Cloud OVH plesk.com
PointDNS/PointHQ Porkbun Poweradmin PowerDNS
PrimeDNS Rackspace Rage4 Rain Yun/雨云
RcodeZero reg.ru Regfish RimuHosting
RU CENTER Sakura Cloud Scaleway ScanNet
Selectel Selectel v2 SelfHost.(de|eu) SelfHost.(de|eu) (DEPRECATED)
Servercow Shellrent Simply.com Sonic
Spaceship Stackpath (DEPRECATED) Syse Technitium
Tele3 Tencent Cloud DNS Tencent EdgeOne Timeweb Cloud
TodayNIC/时代互联 TransIP UCloud Ultradns
United-Domains Variomedia Veesp VegaDNS
Vercel Versio.[nl|eu|uk] VinylDNS Virtualname
VK Cloud Volcano Engine/火山引擎 Vscale Vultr
Wannafind Webglobe webnames.ca webnames.ru
Websupport WEDOS West.cn/西部数码 Xinnet
Yandex 360 Yandex Cloud Yandex PDD Zilore
Zone.ee ZoneEdit Zonomi

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