Documentation ¶
Index ¶
- Constants
- func BuildClientTLSConfig(logger *zap.Logger, cfg config.TLSConfig) (*tls.Config, error)
- func CreateTLSCertificates(logger *zap.Logger, certpath, keypath, capath string, rsaKeySize int, ...) error
- func CreateTLSConfigForTest() (serverTLSConf *tls.Config, clientTLSConf *tls.Config, err error)
- func GetMinTLSVer(tlsVerStr string, logger *zap.Logger) uint16
- type CertInfo
Constants ¶
View Source
const DefaultCertExpiration = 24 * 90 * time.Hour
Variables ¶
This section is empty.
Functions ¶
func BuildClientTLSConfig ¶
func CreateTLSCertificates ¶
func CreateTLSConfigForTest ¶
CreateTLSConfigForTest is from https://gist.github.com/shaneutt/5e1995295cff6721c89a71d13a71c251.
Types ¶
Click to show internal directories.
Click to hide internal directories.