# Functions

No description provided by the author
NewSelfSignedCACert creates a self signed CA certificate.
ServiceToCommonName generates the CommonName for the certificate when using a k8s service.
ValidCACert think cert and key are valid if they meet the following requirements: - key and cert are valid pair - caCert is the root ca of cert - cert is for dnsName - cert won't expire before time.

# Structs

Artifacts hosts a private key, its corresponding serving certificate and the CA certificate that signs the serving certificate.
SelfSignedCertGenerator implements the certGenerator interface.

# Interfaces

CertGenerator is an interface to provision the serving certificate.