Registry / networking / mholt-certmagic

mholt-certmagic

JSON →
library0.25.3gogounverified

Automates TLS certificate obtaining, renewal, and HTTPS best practices.

go get github.com/mholt/certmagic
INSTALL
IMPORT
SIG · MHOLT-CERTMAGIC
M
mholt-certmagic
networkinggov0.25.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

certmagic
github.com/mholt/certmagic

Serve HTTPS with automatic TLS

package main import ( "github.com/mholt/certmagic" ) func main() { certmagic.DefaultACME.Agreed = true err := certmagic.HTTPS([]string{"example.com"}, nil) if err != nil { panic(err) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.25.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
mholt-certmagic — go get mholt-certmagic · libregistry