mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-15 19:02:01 +08:00
【新增】litessl
【新增】删除历史记录 【调整】批量删除证书
This commit is contained in:
@@ -145,6 +145,10 @@ func SaveCert(source, key, cert, issuerCert, historyId string) (string, error) {
|
||||
for _, dns := range certObj.DNSNames {
|
||||
domainSet[dns] = true
|
||||
}
|
||||
// 处理 IP 地址
|
||||
for _, ip := range certObj.IPAddresses {
|
||||
domainSet[ip.String()] = true
|
||||
}
|
||||
|
||||
// 转成切片并拼接成逗号分隔的字符串
|
||||
var domains []string
|
||||
|
||||
Reference in New Issue
Block a user