# Functions
CertPoolFromFile returns an x509.CertPool containing the certificates in the given PEM-encoded file.
CertsFromPEM returns the x509.Certificates contained in the given PEM-encoded byte array Returns an error if a certificate could not be parsed, or if the data does not contain any certificates.
GenerateSelfSignedCert creates a self-signed certificate and key for the given host.
ShouldGenSelfSignedCerts returns false if the certificate or key files already exists, otherwise returns true.