tls

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnparsableCert = errors.New("could not parse certificate")

Functions

func GetCACert

func GetCACert(fs vfs.FS, caCert string) ([]byte, error)

func GetTLSClientConfig

func GetTLSClientConfig(caCertPem []byte, useSystemCertPool bool, insecureSkipVerify bool) (*tls.Config, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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