certwatcher

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateTLSCertificateRequest

func GenerateTLSCertificateRequest(dnsNames []string) (*x509.CertificateRequest, *ecdsa.PrivateKey, error)

Types

type CertificateWatcher

type CertificateWatcher interface {
	GetCertificate(clientHello *tls.ClientHelloInfo) (*tls.Certificate, error)
	Start() error
	Stop()
}

func NewCertificateWatcher

func NewCertificateWatcher(certManagerUrl, caFile string, domains []string) CertificateWatcher

Jump to

Keyboard shortcuts

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