certs

package
v0.0.0-...-147f0cf Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCACommand

func CreateCACommand(certsFolder *string) *cli.Command

CreateCACommand create the Hub self-signed CA, valid for 10 years This does not require any services to run. To replace an existing CA, use the --force option After creating a new CA, services have to be restarted.

hubcli newca [--certs=CertFolder]  [--force]

func HandleCreateCACert

func HandleCreateCACert(certsFolder string, validityDays int, force bool) error

HandleCreateCACert generates the hub self-signed CA private key and certificate in the given folder. Use force to create the folder and overwrite existing certificate if it exists

func HandleViewCACert

func HandleViewCACert(certsFolder string) error

HandleViewCACert shows CA certificate information

func ViewCACommand

func ViewCACommand(certsFolder *string) *cli.Command

ViewCACommand shows info on the Hub self-signed CA This does not require any services to run.

hubcli vca [--certs=CertFolder] view

Types

This section is empty.

Jump to

Keyboard shortcuts

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