caddyserver/certmagic
View on GitHub ↗ ★ 5,615 Go
Automatic HTTPS for any Go program: fully-managed TLS certificate issuance and renewal
17 mentions on Hacker News by 12 people: 2 stories, 15 comments · first 2018-12-10 · latest 2025-06-30
20082026
-
…). If notifications are still important, they also provide an event subscription system ( https://github.com/caddyserver/certmagic#events ) so you can subscribe to cert-related events, run custom code, trigger event handlers, etc.
comment by smjburton · 2025-06-30 · in LetsEncrypt – Expiration Notification Service Has Ended -
…to others: caddy exposes all of it's internal as library you can easily integrate to your projects: https://github.com/caddyserver/certmagic
comment by pomdtr · 2025-02-17 · in Caddy – The Ultimate Server with Automatic HTTPS -
I also find their library for Go ( https://github.com/caddyserver/certmagic ) a major timesaver! We're using it to make it easy for people to self-host our app and it takes care of all the TLS cert set up/renewal.
comment by wim · 2025-02-16 · in Caddy – The Ultimate Server with Automatic HTTPS -
…enhancements that autocert is lacking IMO. A scan of the readme should help illustrate: https://pkg.go.dev/github.com/caddyserver/certmagic#section-... But I guess use what works for you!
comment by mholt · 2023-09-12 · in Caddy is the first and only web server to use HTTPS automatically and by default -
…make it configurable...) Issue opened here to discuss, though it does sound troublesome/tedious: https://github.com/caddyserver/certmagic/issues/240
comment by mholt · 2023-06-15 · in Let's Encrypt Acme API Outage -
Something like https://github.com/caddyserver/certmagic perhaps?
comment by grose · 2022-05-14 · in Show HN: A Full-Stack Web Framework for Go -
…and started using that in Caddy soon after. There's a deeper explanation here: https://github.com/caddyserver/certmagic/issues/71
comment by francislavoie · 2022-04-27 · in Show HN: Caddy v2.5.0 -
Here's one that's actually ready to use: https://github.com/caddyserver/certmagic
comment by makeworld · 2021-04-12 · in Go HTTPS Servers with TLS -
…You're wrong. Caddy uses a superior library that's been more stress-tested at scale in production: https://github.com/caddyserver/certmagic and https://github.com/mholt/acmez - neither of which lego uses. Bugs and limitations in lego…
comment by mholt · 2020-11-25 · in Another free CA as an alternative to Let's Encrypt -
…Let me know what you think! [1] https://which.nameserve.rs [2] http://www.whatsmydnsserver.com/ [3] https://github.com/caddyserver/certmagic [4] AGPL. It is my first foray into golang. https://github.com/redirect2me/which-dns
comment by Fileformat · 2020-10-25 · in Show HN: Which DNS servers are you pointing to? -
Caddy's TLS features are available in CertMagic ( https://github.com/caddyserver/certmagic ) for your daily Golang web app development. Highly recommended!
comment by QUFB · 2020-05-04 · in Show HN: Caddy 2 -
…in a while. 1. https://errorship.com/ 2. https://blog.chewxy.com/2018/03/18/golang-interfaces/ 3. https://github.com/caddyserver/certmagic
comment by RabbitmqGuy · 2020-04-17 · in Ask HN: How are you using Go to write production-grade back end services? -
…works before we start armchairing solutions here. Or, feel free to read the code for yourself: https://github.com/mholt/certmagic/
comment by mholt · 2020-02-26 · in Techcrunch SSL Cert Expired -
It is even easier: https://github.com/mholt/certmagic Edit: Taken from certmagic docs Instead of: // plaintext HTTP, gross http.ListenAndServe(":80", mux) Use CertMagic: // encrypted HTTPS with HTTP->HTTPS redirects - yay!…
comment by erdii · 2019-04-05 · in Self-Contained Pure-Go Web Server with Lua, MD, HTTP/2, QUIC, Redis Support -
…support nearly 3 dozen DNS providers, and adding your own is relatively easy as well. CertMagic: https://github.com/mholt/certmagic Caddy: https://caddyserver.com
comment by mholt · 2019-03-10 · in Using Let's Encrypt for Internal Servers (2018)