cert

package
v1.7.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const CanonicalCertPath = "/etc/ssl/certs/ca-certificates.crt"

CanonicalCertPath is the Debian/Ubuntu CA path used as a canonical value in golden files. The envoy-proxy image uses Debian, so this matches the runtime path.

Variables

View Source
var SystemCertPath = func() string {
	switch runtime.GOOS {
	case "darwin":

		return "/opt/homebrew/etc/ca-certificates/cert.pem"
	default:
		return CanonicalCertPath
	}
}()

SystemCertPath is the default location of the system trust store, initialized at runtime once.

This assumes the Envoy running in a very specific environment. For example, the default location of the system trust store on Debian derivatives like the envoy-proxy image being used by the infrastructure controller.

TODO: this might be configurable by an env var or EnvoyGateway configuration.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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