feat: 修改证书URL为正式版

pull/196/head
zhengkunwang223 2 years ago committed by zhengkunwang223
parent e8caec4603
commit 6c04bd4f59

@ -90,7 +90,7 @@ func NewPrivateKeyClient(email string, privateKey string) (*AcmeClient, error) {
func newConfig(user *AcmeUser) *lego.Config { func newConfig(user *AcmeUser) *lego.Config {
config := lego.NewConfig(user) config := lego.NewConfig(user)
config.CADirURL = "https://acme-staging-v02.api.letsencrypt.org/directory" config.CADirURL = "https://acme-v02.api.letsencrypt.org/directory"
config.UserAgent = "acm_go/0.0.1" config.UserAgent = "acm_go/0.0.1"
config.Certificate.KeyType = certcrypto.RSA2048 config.Certificate.KeyType = certcrypto.RSA2048
return config return config

Loading…
Cancel
Save