certs

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package certs provides embedded CERN CA certificates. Certificates are downloaded at build time by scripts/download_certs.sh and embedded into the binary using go:embed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCERNCertPool

func GetCERNCertPool() (*x509.CertPool, error)

GetCERNCertPool returns a new certificate pool containing CERN CA certificates. This does NOT include system certificates - use AppendToCertPool to add to an existing pool.

func GetCERNCertsBundle

func GetCERNCertsBundle() []byte

GetCERNCertsBundle returns the concatenated CERN CA certificates as a PEM bundle.

func GetSystemWithCERNCertPool

func GetSystemWithCERNCertPool() (*x509.CertPool, error)

GetSystemWithCERNCertPool returns a certificate pool containing both the system's trusted certificates and CERN CA certificates.

Types

This section is empty.

Jump to

Keyboard shortcuts

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