Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCertificateChain ¶
func GetCertificateChain(certFile, keyFile string) (tls.Certificate, error)
GetCertificateChain generates a TLS certificate from a valid and secure pair of PEM encoded files.
func SetCipherSuites ¶
SetCipherSuites will receive a tls.Config pointer and will set CipherSuites array and PreferServerCipherSuites as true.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.