Documentation ¶
Index ¶
- type CertificateState
- type PfxCertGetter
- func (*PfxCertGetter) CaddyModule() caddy.ModuleInfo
- func (getter *PfxCertGetter) GenerateFullPEM(ctx context.Context) error
- func (getter *PfxCertGetter) GetCertificate(ctx context.Context, hello *tls.ClientHelloInfo) (*tls.Certificate, error)
- func (getter *PfxCertGetter) Provision(ctx caddy.Context) error
- func (getter *PfxCertGetter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateState ¶
type PfxCertGetter ¶
type PfxCertGetter struct { // Path to your .pfx file. Path string `json:"path,omitempty"` // Password used to decode pfx file. Required. Password string `json:"password,omitempty"` // FetchFullChain allows Caddy server to automatically download the certificate chain. FetchFullChain *bool `json:"fetch_full_chain,omitempty"` CacheCertName string // contains filtered or unexported fields }
PfxCertGetter allow user to set path to .pfx file to load TLS certificate
func (*PfxCertGetter) CaddyModule ¶
func (*PfxCertGetter) CaddyModule() caddy.ModuleInfo
func (*PfxCertGetter) GenerateFullPEM ¶
func (getter *PfxCertGetter) GenerateFullPEM(ctx context.Context) error
func (*PfxCertGetter) GetCertificate ¶
func (getter *PfxCertGetter) GetCertificate(ctx context.Context, hello *tls.ClientHelloInfo) (*tls.Certificate, error)
func (*PfxCertGetter) Provision ¶
func (getter *PfxCertGetter) Provision(ctx caddy.Context) error
func (*PfxCertGetter) UnmarshalCaddyfile ¶
func (getter *PfxCertGetter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
Click to show internal directories.
Click to hide internal directories.