Versions in this module Expand all Collapse all v1 v1.0.0 Oct 7, 2022 Changes in this version + func CertToPEMBase64(der []byte) string + func GetOrCreateX509KeyPair(opts CertificateOptions) (*tls.Certificate, error) + func LoadX509KeyPair(certPath, keyPath string) (*tls.Certificate, error) + type CertificateOptions struct + Address string + CertPath string + Hostname string + KeyPath string + Lifetime time.Duration