back to home

go-acme / lego

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

9,310 stars
1,114 forks
137 issues
GoGo TemplateMakefile

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing go-acme/lego in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/go-acme/lego)
Preview:Analyzed by RepoMind

Repository Summary (README)

Preview
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 about 180 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.

35.com/三五互联Active24Akamai EdgeDNSAlibaba Cloud DNS
AlibabaCloud ESAall-inklAlwaysdataAmazon Lightsail
Amazon Route 53Anexia CloudDNSArtFilesArvanCloud
Aurora DNSAutodnsAxelnameAzion
Azure (deprecated)Azure DNSBaidu CloudBeget.com
Binary LaneBindmanBluecatBluecat v2
BookMyNameBrandit (deprecated)BunnyCheckdomain
CivoCloud.ruCloudDNSCloudflare
ClouDNSCloudXNS (Deprecated)ConoHa v2ConoHa v3
ConstellixCore-NetworksCPanel/WHMCzechia
DDnss (DynDNS Service)Derak ClouddeSEC.ioDesignate DNSaaS for Openstack
Digital OceanDirectAdminDNS Made EasyDNSExit
dnsHome.deDNSimpleDNSPod (deprecated)Domain Offensive (do.de)
DomeneshopDreamHostDuck DNSDyn
DynDnsFree.deDynuEasyDNSEdgeCenter
Efficient IPEpikExoscaleExternal program
F5 XCfreemyip.comFusionLayer NameSurferG-Core
GandiGandi Live DNS (v5)Gigahost.noGlesys
Go DaddyGoogle CloudGoogle DomainsGravity
HetznerHosting.deHosting.nlHostinger
HosttechHTTP requesthttp.netHuawei Cloud
Hurricane Electric DNSHyperOneIBM Cloud (SoftLayer)IIJ DNS Platform Service
InfobloxInfomaniakInternet Initiative JapanInternet.bs
INWXIonosIonos CloudIPv64
ISPConfig 3ISPConfig 3 - Dynamic DNS (DDNS) Moduleiwantmyname (Deprecated)JD Cloud
JokerJoohoi's ACME-DNSKeyHelpLeaseweb
LiaraLima-CityLinode (v4)Liquid Web
LoopiaLuaDNSMail-in-a-BoxManageEngine CloudDNS
ManualMetanameMetaregistrarmijn.host
Mittwaldmyaddr.{tools,dev,io}MyDNS.jpMythicBeasts
Name.comNamecheapNamesiloNearlyFreeSpeech.NET
NeodigitNetcupNetlifyNicmanager
NIFCloudNjallaNodionNS1
OcteniumOpen Telekom CloudOracle CloudOVH
plesk.comPorkbunPowerDNSRackspace
Rain Yun/雨云RcodeZeroreg.ruRegfish
RFC2136RimuHostingRU CENTERSakura Cloud
ScalewaySelectelSelectel v2SelfHost.(de|eu)
ServercowShellrentSimply.comSonic
SpaceshipStackpathSyseTechnitium
Tencent Cloud DNSTencent EdgeOneTimeweb CloudTodayNIC/时代互联
TransIPUKFast SafeDNSUltradnsUnited-Domains
VariomediaVegaDNSVercelVersio.[nl|eu|uk]
VinylDNSVirtualnameVK CloudVolcano Engine/火山引擎
VscaleVultrwebnames.cawebnames.ru
WebsupportWEDOSWest.cn/西部数码Yandex 360
Yandex CloudYandex PDDZone.eeZoneEdit
Zonomi

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