go-acme/lego

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

9,867

stars

2,142

commits

Go

primary language

Sep 10, 2026

updated

go-acme.github.io/lego/
acme
acme-client
certificate
dns
letsencrypt
rfc8555
rfc8737
rfc8738
security
tls
Browse cluster: ACME protocol and TLS certificate automation

README

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.ru35.com/三五互联51DNSAbion
Active24Akamai EdgeDNSAlibaba Cloud DNSAlibabaCloud ESA
all-inklAlwaysdataAmazon LightsailAmazon Route 53
Anexia CloudDNSANS SafeDNSArtFilesArvanCloud
Aurora DNSAutodnsAxelnameAzion
Azure DNSBaidu CloudBeget.comBinary Lane
BindmanBluecatBluecat v2BookMyName
BunnyCheckdomainCivoCloud.ru
CloudDNSCloudflareClouDNSConnbyte
ConoHa v2ConoHa v3ConstellixCore-Networks
CPanel/WHMCuranetCzechiaDanDomain
DDnss (DynDNS Service)Derak ClouddeSEC.ioDesignate DNSaaS for Openstack
Digital OceanDinahostingDirectAdminDNS Made Easy
DNS Update (RFC2136)dns.laDNS.servicesDNScale
DNSExitdnsHome.deDNSimpleDomain Offensive (do.de)
DomeneshopDreamHostDuck DNSDyn
DynadotDynDnsFree.deDynuEasyDNS
EdgeCenterEfficient IPEpikEuroDNS
EUservExcedoExoscaleExternal program
F5 XCFornexfreemyip.comFusionLayer NameSurfer
G-CoreGandiGandi Live DNS (v5)Gehirn
Gigahost.noGlesysGnameGo Daddy
Google CloudGravityHetznerHosting.de
Hosting.nlHostingerHosttechHostUp
HTTP requesthttp.netHuawei CloudHurricane Electric DNS
HyperOneIBM Cloud (SoftLayer)IIJ DNS Platform ServiceInfoblox
InfomaniakInternet.bsINWXIonos
Ionos CloudIPv64ISPConfig 3ISPConfig 3 - Dynamic DNS (DDNS) Module
JD CloudJokerJoohoi's ACME-DNSKatapult
KeyHelpLeasewebLiaraLima-City
Linode (v4)Liquid WebLoopiaLuaDNS
Mail-in-a-BoxManageEngine CloudDNSManualMetaname
Metaregistrarmijn.hostMittwaldmyaddr.{tools,dev,io}
MyDNS.jpMythicBeastsName.comNamecheap
NamesiloNearlyFreeSpeech.NETNederHostNeodigit
NetcupNetlifyNetnodNexDNS
NgenixNicmanagerNIFCloudNjalla
NodionNS1Octeniumomg.lol
Online.netOpen Telekom CloudOpenproviderOpusDNS
Oracle CloudOVHplesk.comPointDNS/PointHQ
PorkbunPoweradminPowerDNSRackspace
Rage4Rain Yun/雨云RcodeZeroreg.ru
RegfishRimuHostingRU CENTERSakura Cloud
ScalewayScanNetSelectelSelectel v2
SelfHost.(de|eu)ServercowShellrentSimply.com
SonicSpaceshipStackpath (Deprecated)Syse
TechnitiumTele3Tencent Cloud DNSTencent EdgeOne
Timeweb CloudTodayNIC/时代互联TransIPUCloud
UltradnsUnited-DomainsVariomediaVeesp
VegaDNSVercelVersio.[nl|eu|uk]VinylDNS
VirtualnameVK CloudVolcano Engine/火山引擎Vscale
VultrWannafindwebnames.cawebnames.ru
WebsupportWEDOSWest.cn/西部数码Xinnet
Yandex 360Yandex CloudYandex PDDZilore
Zone.eeZoneEditZonomi

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

Contributors

(top 30 of 422)

ldez

1,144 commits

xenolf

349 commits

mholt

39 commits

dmke

18 commits

go-acme/lego

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

9,867

stars

2,142

commits

Go

primary language

Sep 10, 2026

updated

go-acme.github.io/lego/
acme
acme-client
certificate
dns
letsencrypt
rfc8555
rfc8737
rfc8738
security
tls
Browse cluster: ACME protocol and TLS certificate automation

README

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.ru35.com/三五互联51DNSAbion
Active24Akamai EdgeDNSAlibaba Cloud DNSAlibabaCloud ESA
all-inklAlwaysdataAmazon LightsailAmazon Route 53
Anexia CloudDNSANS SafeDNSArtFilesArvanCloud
Aurora DNSAutodnsAxelnameAzion
Azure DNSBaidu CloudBeget.comBinary Lane
BindmanBluecatBluecat v2BookMyName
BunnyCheckdomainCivoCloud.ru
CloudDNSCloudflareClouDNSConnbyte
ConoHa v2ConoHa v3ConstellixCore-Networks
CPanel/WHMCuranetCzechiaDanDomain
DDnss (DynDNS Service)Derak ClouddeSEC.ioDesignate DNSaaS for Openstack
Digital OceanDinahostingDirectAdminDNS Made Easy
DNS Update (RFC2136)dns.laDNS.servicesDNScale
DNSExitdnsHome.deDNSimpleDomain Offensive (do.de)
DomeneshopDreamHostDuck DNSDyn
DynadotDynDnsFree.deDynuEasyDNS
EdgeCenterEfficient IPEpikEuroDNS
EUservExcedoExoscaleExternal program
F5 XCFornexfreemyip.comFusionLayer NameSurfer
G-CoreGandiGandi Live DNS (v5)Gehirn
Gigahost.noGlesysGnameGo Daddy
Google CloudGravityHetznerHosting.de
Hosting.nlHostingerHosttechHostUp
HTTP requesthttp.netHuawei CloudHurricane Electric DNS
HyperOneIBM Cloud (SoftLayer)IIJ DNS Platform ServiceInfoblox
InfomaniakInternet.bsINWXIonos
Ionos CloudIPv64ISPConfig 3ISPConfig 3 - Dynamic DNS (DDNS) Module
JD CloudJokerJoohoi's ACME-DNSKatapult
KeyHelpLeasewebLiaraLima-City
Linode (v4)Liquid WebLoopiaLuaDNS
Mail-in-a-BoxManageEngine CloudDNSManualMetaname
Metaregistrarmijn.hostMittwaldmyaddr.{tools,dev,io}
MyDNS.jpMythicBeastsName.comNamecheap
NamesiloNearlyFreeSpeech.NETNederHostNeodigit
NetcupNetlifyNetnodNexDNS
NgenixNicmanagerNIFCloudNjalla
NodionNS1Octeniumomg.lol
Online.netOpen Telekom CloudOpenproviderOpusDNS
Oracle CloudOVHplesk.comPointDNS/PointHQ
PorkbunPoweradminPowerDNSRackspace
Rage4Rain Yun/雨云RcodeZeroreg.ru
RegfishRimuHostingRU CENTERSakura Cloud
ScalewayScanNetSelectelSelectel v2
SelfHost.(de|eu)ServercowShellrentSimply.com
SonicSpaceshipStackpath (Deprecated)Syse
TechnitiumTele3Tencent Cloud DNSTencent EdgeOne
Timeweb CloudTodayNIC/时代互联TransIPUCloud
UltradnsUnited-DomainsVariomediaVeesp
VegaDNSVercelVersio.[nl|eu|uk]VinylDNS
VirtualnameVK CloudVolcano Engine/火山引擎Vscale
VultrWannafindwebnames.cawebnames.ru
WebsupportWEDOSWest.cn/西部数码Xinnet
Yandex 360Yandex CloudYandex PDDZilore
Zone.eeZoneEditZonomi

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

Contributors

(top 30 of 422)

ldez

1,144 commits

xenolf

349 commits

mholt

39 commits

dmke

18 commits

Languages

Go

99.8%