ssl

package
v0.180.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendPEMFileToRootCAPool

func AppendPEMFileToRootCAPool(certPool *x509.CertPool, pemFileName string) (*x509.CertPool, error)

Appends certificates to the `x509.CertPool` from a `.pem` private local file. On many Linux systems, /etc/ssl/cert.pem will contain the system wide set but in our case, we'll pull the certificate file path from the `Configuration` struct

func GetRootCAPool

func GetRootCAPool() *x509.CertPool

Types

This section is empty.

Jump to

Keyboard shortcuts

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