acme

package
v0.0.0-...-4df9163 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const ClusterCertFilename = "cluster.crt.new"

ClusterCertFilename describes the filename of the new certificate which is stored in case it cannot be distributed in a cluster due to offline members. LXD will try to distribute this certificate at a later stage.

Variables

This section is empty.

Functions

func UpdateCertificate

func UpdateCertificate(s *state.State, provider HTTP01Provider, clustered bool, domain string, email string, caURL string, force bool) (*certificate.Resource, error)

UpdateCertificate updates the certificate.

Types

type HTTP01Provider

type HTTP01Provider interface {
	challenge.Provider

	Domain() string
	KeyAuth() string
	Token() string
}

HTTP01Provider is an extension of the challenge.Provider interface.

func NewHTTP01Provider

func NewHTTP01Provider() HTTP01Provider

NewHTTP01Provider returns a HTTP01Provider.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL