Versions in this module Expand all Collapse all v0 v0.7.7 Jul 14, 2021 Changes in this version + const CertsCADir + const CertsDir + const DefaultConsoleConfigDir + const EnvCertPassword + const PrivateKeyFile + const PublicCertFile + var DefaultCertsCADir = &ConfigDir + var DefaultCertsDir = &ConfigDir + var GlobalCertsCADir = DefaultCertsCADir + var GlobalCertsDir = DefaultCertsDir + func GetAllCertificatesAndCAs() (*x509.CertPool, []*x509.Certificate, *xcerts.Manager, error) + func GetTLSConfig() (x509Certs []*x509.Certificate, manager *xcerts.Manager, err error) + func LoadX509KeyPair(certFile, keyFile string) (tls.Certificate, error) + func MkdirAllIgnorePerm(path string) error + func ParsePublicCertFile(certFile string) (x509Certs []*x509.Certificate, err error) + type ConfigDir struct + Path string + func NewConfigDirFromCtx(ctx *cli.Context, option string, getDefaultDir func() string) (*ConfigDir, bool, error) + func (dir *ConfigDir) Get() string