mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 11:27:17 +08:00
fix: 使用短期证书配置
This commit is contained in:
@@ -241,7 +241,7 @@ func (r *certRepo) ObtainPanel(account *biz.CertAccount, ips []string) ([]byte,
|
||||
}
|
||||
client.UsePanel(ips, filepath.Join(app.Root, "server/nginx/conf/acme.conf"))
|
||||
|
||||
ssl, err := client.ObtainCertificate(context.Background(), ips, acme.KeyEC256)
|
||||
ssl, err := client.ObtainShortCertificate(context.Background(), ips, acme.KeyEC256)
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user