mirror of https://github.com/bjdgyc/anylink.git
修改Let's Encrypt注册地址为生产模式
This commit is contained in:
parent
bc7c61c337
commit
4b83bd7ccf
|
@ -175,7 +175,7 @@ func (c *LeGoClient) NewClient(l *SettingLetsEncrypt) error {
|
|||
return err
|
||||
}
|
||||
config := lego.NewConfig(legouser)
|
||||
config.CADirURL = lego.LEDirectoryStaging
|
||||
config.CADirURL = lego.LEDirectoryProduction
|
||||
config.Certificate.KeyType = certcrypto.RSA2048
|
||||
|
||||
client, err := lego.NewClient(config)
|
||||
|
|
Loading…
Reference in New Issue