https

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CustomCertFileName = "custom.crt"
	CustomKeyFileName  = "custom.key"

	RSABits               = 2048
	OrganizationName      = "MyController.org"
	Validity              = 365 // days
	GeneratedCertFileName = "mc_generated.crt"
	GeneratedKeyFileName  = "mc_generated.key"
)

Variables

This section is empty.

Functions

func GetAcmeTLSConfig

func GetAcmeTLSConfig(cfg config.HttpsACMEConfig) (*tls.Config, error)

GetAcmeTLSConfig return certificate from acme

func GetSSLTLSConfig

func GetSSLTLSConfig(logger *zap.Logger, cfg config.HttpsSSLConfig) (*tls.Config, error)

GetSSLTLSConfig returns ssl certificate

Types

This section is empty.

Jump to

Keyboard shortcuts

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