mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-11-10 11:40:53 +08:00
feat: 修改证书URL为正式版
This commit is contained in:
parent
e8caec4603
commit
6c04bd4f59
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue