Documentation
¶
Overview ¶
Package filepair provides a Caddy certificate manager which reads a PEM certificate chain and private key from separate, fixed filesystem paths.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilePair ¶
type FilePair struct {
Names []string `json:"names,omitempty"`
Cert string `json:"cert,omitempty"`
Key string `json:"key,omitempty"`
}
FilePair reads the current certificate and key on every manager lookup. Names is an allowlist; entries may be exact DNS names or one-label wildcards.
func (FilePair) CaddyModule ¶
func (FilePair) CaddyModule() caddy.ModuleInfo
func (FilePair) GetCertificate ¶
func (f FilePair) GetCertificate(_ context.Context, hello *tls.ClientHelloInfo) (*tls.Certificate, error)
Click to show internal directories.
Click to hide internal directories.