Versions in this module Expand all Collapse all v1 v1.12.3 Feb 27, 2026 Changes in this version + type Cert struct + CACertPath string + CAKeyPath string + CertPath string + KeyPath string + func NewSelfSignedCert(t *testing.T, opts ...CertOpt) *Cert + func (c *Cert) ClientTLSConfig(t *testing.T, insecure, addCert bool) *tls.Config + func (c *Cert) ServerTLSConfig(t *testing.T) *tls.Config + type CertOpt func(*CertOptions) + func WithCASubject(organization, commonName string) CertOpt + func WithCombinedFile() CertOpt + func WithDNSName(dnsName string) CertOpt + func WithIPAddr(ipAddr net.IP) CertOpt + func WithNoDefaultIPAddrs() CertOpt + func WithNotAfter(notAfter time.Time) CertOpt + func WithNotBefore(notBefore time.Time) CertOpt + type CertOptions struct + CACommonName string + CAOrganization string + CombinedFile bool + DNSNames []string + IPAddrs []net.IP + NotAfter time.Time + NotBefore time.Time + SkipDefaultIPAddrs bool v1.12.3-rc.0 Feb 13, 2026