pki

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PKI = grpcx.PKI{
		Cert: stepPath + "/certs/openwrt.crt",
		Key:  stepPath + "/certs/openwrt.key",
		CA:   stepPath + "/certs/root_ca.crt",
	}
)

Functions

func Bootstrap

func Bootstrap() error

func BootstrapCert

func BootstrapCert() error

Requests the ott token for the current instance and use it to issue a certificate

func GetToken

func GetToken(hostname string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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