fix: 解决从网站上传的证书状态显示异常的问题 (#5869)

Refs https://github.com/1Panel-dev/1Panel/issues/5867
This commit is contained in:
zhengkunwang 2024-07-19 15:41:28 +08:00 committed by GitHub
parent dcf2afb4a6
commit 68922676fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -910,6 +910,7 @@ func (w WebsiteService) OpWebsiteHTTPS(ctx context.Context, req request.WebsiteH
websiteSSL.Provider = constant.Manual
websiteSSL.PrivateKey = privateKey
websiteSSL.Pem = certificate
websiteSSL.Status = constant.SSLReady
res.SSL = websiteSSL
}