package
0.102.0
Repository: https://github.com/elastic/elastic-package.git
Documentation: pkg.go.dev

# Functions

LoadCA loads a CA certificate and key from disk.
LoadCertificate loads a certificate and key from disk.
New is the main helper to create a certificate, it is recommended to use the more specific ones for specific use cases.
NewCA creates a new self-signed root CA.
NewSelfSignedCert issues a self-signed certificate with the given options.
PoolWithCACertificate returns a new pool that includes the CA certificate in the given path.
SystemPoolWithCACertificate returns a copy of the system pool, including the CA certificate in the given path.
WithName is an option to configure the common and alternate DNS names of a certificate.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Certificate contains the key and certificate for an issued certificate.
Issuer is a certificate that can issue other certificates.

# Type aliases

Option is a function that can modify a certificate template.