Documentation
¶
Index ¶
Constants ¶
View Source
const CertDefaultNewApplyTime = 5 * 24 * time.Hour
Variables ¶
This section is empty.
Functions ¶
func GetCertificateAndPrivateKey ¶
func GetCertificateAndPrivateKey(basedir string, email string, aliyunAccessKey string, aliyunAccessSecret string, domain string) (crypto.PrivateKey, *x509.Certificate, *x509.Certificate, error)
Types ¶
type NewCert ¶
type NewCert struct {
PrivateKey crypto.PrivateKey
Certificate *x509.Certificate
IssuerCertificate *x509.Certificate
Error error
}
Click to show internal directories.
Click to hide internal directories.