cert

package
v0.0.0-...-aa521ce Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificatePair

type CertificatePair struct {
	CertPEM string
	KeyPEM  string
}

func GenerateCA

func GenerateCA(caName string) (*CertificatePair, error)

func GenerateKeyPair

func GenerateKeyPair() (*CertificatePair, error)

func SignCert

func SignCert(
	caCertPEM string,
	caKeyPEM string,
	nodeName string,
	nodeIP string,
	groupsList string,
	nodePubKeyPEM string,
) (*CertificatePair, error)

Jump to

Keyboard shortcuts

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