Versions in this module Expand all Collapse all v2 v2.4.1 Jan 5, 2021 v2.4.0 Jan 5, 2021 Changes in this version + const DefaultCAID + type AuthorityConfig struct + AuthConfig *authority.AuthConfig + DB *db.AuthDB + SignWithRoot bool + type CA struct + InstallTrust *bool + Intermediate *KeyPair + IntermediateCommonName string + Name string + Root *KeyPair + RootCommonName string + StorageRaw json.RawMessage + func (ca *CA) Provision(ctx caddy.Context, id string, log *zap.Logger) error + func (ca CA) ID() string + func (ca CA) IntermediateCertificate() *x509.Certificate + func (ca CA) IntermediateKey() interface{} + func (ca CA) NewAuthority(authorityConfig AuthorityConfig) (*authority.Authority, error) + func (ca CA) RootCertificate() *x509.Certificate + func (ca CA) RootKey() (interface{}, error) + type KeyPair struct + Certificate string + Format string + PrivateKey string + func (kp KeyPair) Load() (*x509.Certificate, interface{}, error) + type PKI struct + CAs map[string]*CA + func (PKI) CaddyModule() caddy.ModuleInfo + func (p *PKI) Provision(ctx caddy.Context) error + func (p *PKI) Start() error + func (p *PKI) Stop() error