cmd

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: Apache-2.0 Imports: 17 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDepot

func InitDepot(path string) error

InitDepot creates the depot directory, which stores key/csr/crt files

func NewCertRequestCommand

func NewCertRequestCommand() cli.Command

NewCertRequestCommand sets up a "request-cert" command to create a request for a new certificate (CSR)

func NewInitCommand

func NewInitCommand() cli.Command

NewInitCommand sets up an "init" command to initialize a new CA

func NewRevokeCommand added in v1.2.0

func NewRevokeCommand() cli.Command

NewRevokeCommand revokes the given certificate by adding it to the CA's CRL.

func NewSignCommand

func NewSignCommand() cli.Command

NewSignCommand sets up a "sign" command to sign a CSR with a given CA for a new certificate

Types

This section is empty.

Jump to

Keyboard shortcuts

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