acme

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2017 License: ISC Imports: 4 Imported by: 0

Documentation

Overview

Package acme uses https://github.com/dkumor/acmewrapper to automatically provision TLS certificates.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Server is the ACME server to use
	Server string

	// Email is the account owner's email
	Email string

	// TOS is an array containing the URLs for accepted Terms of Service
	TOS []string

	// DataPath is the path where files (registration, registration private key,
	// cert, and cert key) should be stored.
	//
	// All files are stored under <DataPath>/autocert.
	DataPath string

	// Domains are the domains for which should be added to provisioned
	// certificates.  The certificate and private key files contain
	// a hash of this collection so that new certificates are provisioned
	// if the list of domains changes.
	Domains []string
}

Config contains the variables required for AcmeWrapper

func (Config) Manager

func (c Config) Manager() (*autocert.Manager, error)

Manager returns an *autocert.Manager for this Config

Jump to

Keyboard shortcuts

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