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

@ -95,6 +95,8 @@ func IssueCert(c *gin.Context) {
log := &cert.Logger{}
log.SetCertModel(&certModel)
payload.CertID = certModel.ID
go cert.IssueCert(payload, logChan, errChan)
go handleIssueCertLogChan(ws, log, logChan)