Documentation ¶ Index ¶ func SelfSignCrt(config SelfSignConfig) (cert, key []byte, err error) func WritePEM(certPath, keyPath string, cert, key []byte) error type SelfSignConfig Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func SelfSignCrt ¶ func SelfSignCrt(config SelfSignConfig) (cert, key []byte, err error) func WritePEM ¶ func WritePEM( certPath, keyPath string, cert, key []byte, ) error Types ¶ type SelfSignConfig ¶ type SelfSignConfig struct { Country, Organization, OrgUnit, StreetAddress, PostalCode, Locality, Province []string CommonName string IP []net.IP DNS []string Email []string URI []*url.URL NotAfterDays int } Source Files ¶ View all Source files selfsign.go Click to show internal directories. Click to hide internal directories.