Documentation ¶
Overview ¶
Package `x509io` contains functions to load certs from disk.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadCABundle ¶
`LoadCABundle()` loads PEM certificates as a `CertPool`, which can be used as a CA for client certs.
func LoadCombinedCert ¶
func LoadCombinedCert(path string) (cert tls.Certificate, err error)
`LoadCombinedCert()` loads a combined cert and key. PEM files can be concatenated `cat cert.pem privkey.pem > combined.pem`.
func LoadX509Dir ¶
`LoadX509Dir()` loads a triplet `ca.pem`, `cert.pem`, and `privkey.pem`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.