Browse Source

feat: 修改证书URL为正式版

pull/196/head
zhengkunwang223 2 years ago committed by zhengkunwang223
parent
commit
6c04bd4f59
  1. 2
      backend/utils/ssl/acme.go

2
backend/utils/ssl/acme.go

@ -90,7 +90,7 @@ func NewPrivateKeyClient(email string, privateKey string) (*AcmeClient, error) {
func newConfig(user *AcmeUser) *lego.Config {
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.Certificate.KeyType = certcrypto.RSA2048
return config

Loading…
Cancel
Save