caddytls

package module
v0.0.0-...-c6ba2b1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 16 Imported by: 0

README

certdx caddy

Caddyfile example

{
	auto_https off
    certdx {
        config_path /path/to/certdx_client_config.toml
    }
}

https://example.com {
    tls {
         get_certificate certdx
     }
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertDXCaddyDaemon

type CertDXCaddyDaemon struct {
	ConfigPath *string `json:"config_path,omitempty"`
	// contains filtered or unexported fields
}

func (CertDXCaddyDaemon) CaddyModule

func (CertDXCaddyDaemon) CaddyModule() caddy.ModuleInfo

func (*CertDXCaddyDaemon) GetCertificate

func (m *CertDXCaddyDaemon) GetCertificate(ctx context.Context, hello *tls.ClientHelloInfo) (*tls.Certificate, error)

func (*CertDXCaddyDaemon) Provision

func (m *CertDXCaddyDaemon) Provision(ctx caddy.Context) error

func (*CertDXCaddyDaemon) Start

func (m *CertDXCaddyDaemon) Start() error

func (*CertDXCaddyDaemon) Stop

func (m *CertDXCaddyDaemon) Stop() error

type CertDXTls

type CertDXTls struct {
	// contains filtered or unexported fields
}

CertDXTls can get a certificate via HTTP(S) request.

func (CertDXTls) CaddyModule

func (certdx CertDXTls) CaddyModule() caddy.ModuleInfo

CaddyModule returns the Caddy module information.

func (CertDXTls) GetCertificate

func (certdx CertDXTls) GetCertificate(ctx context.Context, hello *tls.ClientHelloInfo) (*tls.Certificate, error)

func (*CertDXTls) Provision

func (certdx *CertDXTls) Provision(ctx caddy.Context) error

func (*CertDXTls) UnmarshalCaddyfile

func (certdx *CertDXTls) UnmarshalCaddyfile(d *caddyfile.Dispenser) error

UnmarshalCaddyfile deserializes Caddyfile tokens into ts.

... certdx

func (*CertDXTls) Validate

func (certdx *CertDXTls) Validate() error

Jump to

Keyboard shortcuts

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