Registry / networking / mholt-acmez

mholt-acmez

JSON →
library1.2.0gogounverified

Package acmez implements the higher-level flow of the ACME specification, RFC 8555, to obtain certificates with various challenge types.

go get github.com/mholt/acmez
INSTALL
IMPORT
SIG · MHOLT-ACMEZ
M
mholt-acmez
networkinggov1.2.0
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.

acmez
github.com/mholt/acmez

Obtain a TLS certificate for a domain using ACME.

package main import ( "context" "fmt" "github.com/mholt/acmez" "github.com/mholt/acmez/acme" ) func main() { client := acmez.Client{} ctx := context.Background() account := acme.Account{Contact: []string{"mailto:admin@example.com"}} certs, _ := client.ObtainCertificate(ctx, account, []string{"example.com"}) fmt.Println(string(certs[0].Certificate)) }
Debug
Known issues
breakingExported identifiers related to draft specifications may change without a major version bump.
fix
Pin to a specific version and test upgrades carefully.
affects: <2.0.0
Upgrade
Version history
1.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
mholt-acmez — go get mholt-acmez · libregistry