Hacker GitHub

← All repos

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

Mentions per year 17 mentions · busiest year 2020 (5)
20082026
  1. …). 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.
  2. …to others: caddy exposes all of it's internal as library you can easily integrate to your projects: https://github.com/caddyserver/certmagic
  3. 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.
  4. …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!
  5. …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
  6. Something like https://github.com/caddyserver/certmagic perhaps?
  7. …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
  8. 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
  9. …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…
  10. …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
  11. 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
  12. …in a while. 1. https://errorship.com/ 2. https://blog.chewxy.com/2018/03/18/golang-interfaces/ 3. https://github.com/caddyserver/certmagic
  13. …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
  14. 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!…
  15. …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