package
0.11.5
Repository: https://github.com/webscale-networks/caddy.git
Documentation: pkg.go.dev

# Functions

GetSupportedCipherName returns the cipher name.
GetSupportedProtocolName returns the protocol name.
MakeTLSConfig makes a tls.Config from configs.
NewConfig returns a new Config with a pointer to the instance's certificate cache.
QualifiesForManagedTLS returns true if c qualifies for for managed TLS (but not on-demand TLS specifically).
RegisterClusterPlugin registers provider by name for facilitating cluster-wide operations like storage and synchronization.
RegisterConfigGetter registers fn as the way to get a Config for server type serverType.
RegisterDNSProvider registers provider by name for solving the ACME DNS challenge.
Revoke revokes the certificate fro host via the ACME protocol.
RotateSessionTicketKeys rotates the TLS session ticket keys on cfg every TicketRotateInterval.
SetDefaultTLSParams sets the default TLS cipher suites, protocol versions, and server preferences of a server.Config if they were not previously set (it does not overwrite; only fills in missing values).

# Constants

CertCacheInstStorageKey is the name of the key for accessing the certificate storage on the *caddy.Instance.
NumTickets is how many tickets to hold and consider to decrypt TLS sessions.
TicketRotateInterval is how often to generate new ticket for TLS PFS encryption.

# Variables

ClientHelloTelemetry determines whether to report TLS ClientHellos to telemetry.
KnownACMECAs is a list of ACME directory endpoints of known, public, and trusted ACME-compatible certificate authorities.
SupportedCiphersMap has supported ciphers, used only for parsing config.
SupportedProtocols is a map of supported protocols.

# Structs

ClientHelloInfo is our own version of the standard lib's tls.ClientHelloInfo.
Config describes how TLS should be configured and used.

# Interfaces

ConfigHolder is any type that has a Config; it presumably is connected to a hostname and port on which it is serving.

# Type aliases

ChallengeProvider defines an own type that should be used in Caddy plugins over challenge.Provider.
ClusterPluginConstructor is a function type that is used to instantiate a new implementation of both certmagic.Storage and certmagic.Locker, which are required for successful use in cluster environments.
ConfigGetter gets a Config keyed by key.
DNSProviderConstructor is a function that takes credentials and returns a type that can solve the ACME DNS challenges.