acme

package
v6.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 21 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. Incus 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