fix: renewed certificate and private key not save #391

This commit is contained in:
Jacky 2024-05-21 14:01:35 +08:00
parent c1c1094544
commit 538be53e9c
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
5 changed files with 81 additions and 57 deletions

View file

@ -71,6 +71,7 @@ func autoCert(certModel *model.Cert) {
// support SAN certification
payload := &ConfigPayload{
CertID: certModel.ID,
ServerName: certModel.Domains,
ChallengeMethod: certModel.ChallengeMethod,
DNSCredentialID: certModel.DnsCredentialID,