Versions in this module Expand all Collapse all v0 v0.25.0 Aug 19, 2026 Changes in this version + func LoadOrGenerate(certPath, keyPath string, hosts []string, validity time.Duration) (tls.Certificate, bool, error) + func WriteCertPair(certPath, keyPath string, cert tls.Certificate) error v0.24.1 Aug 2, 2026 Changes in this version + const MaxDevCertValidity + func CertHashHex(cert *x509.Certificate) string + func GenerateDevCert(hosts []string, validity time.Duration) (tls.Certificate, error) + func SPKIFingerprint(cert *x509.Certificate) string + type Reloader struct + func NewReloader(certPath, keyPath string, log *slog.Logger) (*Reloader, error) + func (r *Reloader) GetCertificate(*tls.ClientHelloInfo) (*tls.Certificate, error)