devcert

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureAgentCert

func EnsureAgentCert(dir, caCrtPath, caKeyPath, commonName string) (crtPath, keyPath string, err error)

EnsureAgentCert ensures a client cert for agent signed by CA.

func EnsureDevCA

func EnsureDevCA(dir string) (caCrt, caKey string, err error)

EnsureDevCA ensures a development CA exists under dir and returns paths.

func EnsureServerCert

func EnsureServerCert(dir, caCrtPath, caKeyPath string, hosts []string) (crtPath, keyPath string, err error)

EnsureServerCert ensures a server cert signed by CA; hosts may include DNS/IP.

Types

This section is empty.

Jump to

Keyboard shortcuts

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