core

package
v0.0.0-...-46bd79c Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoDomains       = errors.New("at least one domain is required")
	ErrFailedDecodeKey = errors.New("failed to decode generated key")
)
View Source
var (
	ErrDirectoryExists  = errors.New(".cisza directory already exists")
	ErrUnsupportedCurve = errors.New("unsupported curve")
)
View Source
var (
	ErrNoCertificate      = errors.New("certificate file not found")
	ErrInvalidCertificate = errors.New("invalid certificate format")
)
View Source
var (
	ErrCertDirExists = errors.New("certificate directory already exists")
)

Functions

func GenerateCSR

func GenerateCSR(domains []string, keyType string, rsaKeySize int, ecdsaCurve string) (csrDER []byte, keyPEM []byte, err error)

func Init

func Init(cfg *config.Config) error

func InspectCertificate

func InspectCertificate(dir string) error

func IssueCertificate

func IssueCertificate(ctx context.Context, name string, domains []string, cfg *config.Config, client *acme.Client, force bool) error

func RenewCertificate

func RenewCertificate(ctx context.Context, dir 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