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 ¶
EnsureDevCA ensures a development CA exists under dir and returns paths. If the CA cert exists but is expired, it will be regenerated.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.