[GH-ISSUE #1059] [Bug] 宝塔重复部署证书会发生"证书已存在"错误 #715

Closed
opened 2026-03-03 01:05:26 +03:00 by kerem · 1 comment
Owner

Originally created by @0xc0000142 on GitHub (Nov 24, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/1059

Release Version / 软件版本

v0.4.6

Description / 缺陷描述

在已推送证书后更改宝塔面板内网站导致需要重新推送证书,重复推送证书时会发生 failed to execute sdk request 'bt.SSLCertSaveCert': sdkerr: api error: message='证书已存在' 错误

Steps to reproduce / 复现步骤

  1. 申请个证书并推送
  2. 在宝塔面板内新增个网站
  3. 更改工作流以向新的网站推送证书
  4. 执行工作流

Logs / 日志

(域名和证书信息已删除)

#3UzbNpJD7jiFokPYa1ucI 开始
[2025-11-24T21:33:43.456+08:00] [0] the workflow is starting

#5Tphg5TQHNIPLdqEymJxv 通知
[2025-11-24T21:33:43.457+08:00] [0] ready to send notification ... {"config":{"provider":"telegrambot","providerAccessId":"7sh21fl471oy6ix","subject":"[Certimate] 工作流#1 开始执行","message":"工作流 #1\n开始执行","skipOnAllPrevSkipped":false}}
[2025-11-24T21:33:44.505+08:00] [0] notification completed

#Y8JYzlgX9KX2NDVXqPi7k 申请
[2025-11-24T21:33:44.507+08:00] [0] ready to request certificate ... {"config":{"domains"skipBeforeExpiryDays":60}}
[2025-11-24T21:33:44.509+08:00] [0] found last workflow run #2keurqdhwzpf6m1
[2025-11-24T21:33:44.509+08:00] [0] skip this application, because the last issued certificate #q3i7jpscfi4ur2i expires in 89 day(s), next renewal will be in 60 day(s)

#oPaHa_oT98uJGCoOYKVSZ 分支 1
[2025-11-24T21:33:44.510+08:00] [0] enter this branch without any conditions

#WuHOTX5md-aCnK1QDJCMQ 部署
[2025-11-24T21:33:44.511+08:00] [0] ready to deploy certificate ... {"config":{"certificateOutputNodeId":"Y8JYzlgX9KX2NDVXqPi7k","provider":"tencentcloud-eo","providerAccessId":"rbko3v6q9vaizqv","providerConfig":{"domains"skipOnLastSucceeded":true}}
[2025-11-24T21:33:44.512+08:00] [0] found last workflow run #2keurqdhwzpf6m1
[2025-11-24T21:33:44.513+08:00] [0] skip this deployment, because the last deployment already completed

#U4zJ_-sBbAsFXz421vKBp 通知
[2025-11-24T21:33:44.515+08:00] [0] ready to send notification ... {"config":{"provider":"telegrambot","providerAccessId":"7sh21fl471oy6ix","subject":"[Certimate] 工作流 #1 Notice","message":"工作流#1 \n部署证书 #1 = EdgeOne\n成功","skipOnAllPrevSkipped":true}}
[2025-11-24T21:33:44.515+08:00] [0] skip this application, because all the previous nodes have been skipped

#1hJOIgMEkvdgKVRRv5YUS 分支 2
[2025-11-24T21:33:44.516+08:00] [0] enter this branch without any conditions

#yPuh8tWJFwWrVgmk8L-my 部署-WebP
[2025-11-24T21:33:44.517+08:00] [0] ready to deploy certificate ... {"config":{"certificateOutputNodeId":"Y8JYzlgX9KX2NDVXqPi7k","provider":"baotapanel-site","providerAccessId":"hpyqbswy1yr38au","providerConfig":{"siteNames":,"siteType":"any"},"skipOnLastSucceeded":true}}
[2025-11-24T21:33:44.518+08:00] [0] found last workflow run #sgxuhb2vuqokr51
[2025-11-24T21:33:44.519+08:00] [0] skip this deployment, because the last deployment already completed

#Jxpp_5VWDJ6FSzcK7Mq7r 通知
[2025-11-24T21:33:44.520+08:00] [0] ready to send notification ... {"config":{"provider":"telegrambot","providerAccessId":"7sh21fl471oy6ix","subject":"[Certimate] 工作流 #1 Notice","message":"工作流#1 \n部署证书 #2 = BT @ WebProxy\n成功","skipOnAllPrevSkipped":true}}
[2025-11-24T21:33:44.521+08:00] [0] skip this application, because all the previous nodes have been skipped

#1pgkrmAeqEyBB8GmNxUOm 分支 3
[2025-11-24T21:33:44.521+08:00] [0] enter this branch without any conditions

#E3VVA4WR3HhDr6cLJymQO 部署-Web
[2025-11-24T21:33:44.522+08:00] [0] ready to deploy certificate ... {"config":{"certificateOutputNodeId":"Y8JYzlgX9KX2NDVXqPi7k","provider":"baotapanel-site","providerAccessId":"fdabwvpxtdbphdk","providerConfig":{"siteNames":"","siteType":"any"},"skipOnLastSucceeded":true}}
[2025-11-24T21:33:44.523+08:00] [0] found last workflow run #sgxuhb2vuqokr51
[2025-11-24T21:33:44.524+08:00] [0] skip this deployment, because the last deployment already completed

#nYPif-sJnZvMqSaW54r5R 通知
[2025-11-24T21:33:44.525+08:00] [0] ready to send notification ... {"config":{"provider":"telegrambot","providerAccessId":"7sh21fl471oy6ix","subject":"[Certimate] 工作流 #1 Notice","message":"工作流 #1 \n部署证书 #3 = BT@Web\n成功","skipOnAllPrevSkipped":true}}
[2025-11-24T21:33:44.526+08:00] [0] skip this application, because all the previous nodes have been skipped

#XgKrxn1gHh96JQmVmZJr_ 分支 4
[2025-11-24T21:33:44.526+08:00] [0] enter this branch without any conditions

#h3nnRqEGOMirgMjoU-4Cp 部署-BJ
[2025-11-24T21:33:44.527+08:00] [0] ready to deploy certificate ... {"config":{"certificateOutputNodeId":"Y8JYzlgX9KX2NDVXqPi7k","provider":"baotapanel-site","providerAccessId":"nyee2nynhu5uhud","providerConfig":{"siteNames":,"siteType":"any"},"skipOnLastSucceeded":true}}
[2025-11-24T21:33:44.528+08:00] [0] found last workflow run #sgxuhb2vuqokr51
[2025-11-24T21:33:44.529+08:00] [0] skip this deployment, because the last deployment already completed

#z1vdL-nxN_iIwZtEWGjJS 通知
[2025-11-24T21:33:44.530+08:00] [0] ready to send notification ... {"config":{"provider":"telegrambot","providerAccessId":"7sh21fl471oy6ix","subject":"[Certimate] 工作流 #1 Notice","message":"工作流 #1 \n部署证书 #4 = BT @ BJ\n成功","skipOnAllPrevSkipped":true}}
[2025-11-24T21:33:44.531+08:00] [0] skip this application, because all the previous nodes have been skipped

#SU78ECm5OOg7kNj--lmT5 分支 5
[2025-11-24T21:33:44.532+08:00] [0] enter this branch without any conditions

#KFmi3l94k7m4sTRmfrfbP 部署-Chip
[2025-11-24T21:33:44.533+08:00] [0] ready to deploy certificate ... {"config":{"certificateOutputNodeId":"Y8JYzlgX9KX2NDVXqPi7k","provider":"baotapanel-site","providerAccessId":"unmeoxyjcr2s1vk","providerConfig":{"siteNames":,"siteType":"any"},"skipOnLastSucceeded":true}}
[2025-11-24T21:33:44.534+08:00] [0] found last workflow run #sgxuhb2vuqokr51
[2025-11-24T21:33:44.535+08:00] [0] skip this deployment, because the last deployment already completed

#PSrOiPe3jBaZLo_Y7qMqg 部署-Chip-copy
[2025-11-24T21:33:44.536+08:00] [0] ready to deploy certificate ... {"config":{"certificateOutputNodeId":"Y8JYzlgX9KX2NDVXqPi7k","provider":"baotapanel-site","providerAccessId":"unmeoxyjcr2s1vk","providerConfig":{"siteNames":","siteType":"any"},"skipOnLastSucceeded":true}}
[2025-11-24T21:33:44.537+08:00] [0] found last workflow run #sgxuhb2vuqokr51
[2025-11-24T21:33:44.538+08:00] [0] skip this deployment, because the last deployment already completed

#MC-Y7pPz9xovv5HLn9d2i 部署-copy
[2025-11-24T21:33:44.538+08:00] [0] ready to deploy certificate ... {"config":{"certificateOutputNodeId":"Y8JYzlgX9KX2NDVXqPi7k","provider":"baotapanel-site","providerAccessId":"ddftqr45jy6572f","providerConfig":{"siteNames":"speedtest.pjl.0xc.cn;speed.pjl.0xc.cn;speed.halac.cn;speedtest.halac.cn","siteType":"any"},"skipOnLastSucceeded":true}}
[2025-11-24T21:33:44.539+08:00] [0] found last workflow run #sgxuhb2vuqokr51
[2025-11-24T21:33:44.540+08:00] [0] skip this deployment, because the last deployment already completed

#2l-XeiSYde8p3hYQuHniN 部署-copy-copy
[2025-11-24T21:33:44.541+08:00] [0] ready to deploy certificate ... {"config":{"certificateOutputNodeId":"Y8JYzlgX9KX2NDVXqPi7k","provider":"baotapanel-site","providerAccessId":"r9vanf1fl5yhgds","providerConfig":{"siteNames":,"siteType":"any"},"skipOnLastSucceeded":false}}
[2025-11-24T21:33:44.542+08:00] [0] found last workflow run #2keurqdhwzpf6m1
[2025-11-24T21:33:44.543+08:00] [0] re-deploy, because the configuration item 'ProviderConfig' changed
[2025-11-24T21:33:44.715+08:00] [-4] sdk request 'bt.SSLCertSaveCert' {"request":{"key":"-----BEGIN RSA PRIVATE KEY----------END RSA PRIVATE KEY-----","csr":"-----BEGIN CERTIFICATE-----\n-----END CERTIFICATE-----\n\n-----BEGIN CERTIFICATE-----\n-----END CERTIFICATE-----"},"response":{"status":false,"msg":"证书已存在","ssl_hash":""}}
[2025-11-24T21:33:44.716+08:00] [4] could not deploy certificate
[2025-11-24T21:33:44.717+08:00] [8] failed to execute sdk request 'bt.SSLCertSaveCert': sdkerr: api error: message='证书已存在'

#CQaUiwSzMSky5poc-PfEG 通知
[2025-11-24T21:33:44.718+08:00] [0] ready to send notification ... {"config":{"provider":"telegrambot","providerAccessId":"7sh21fl471oy6ix","subject":"[Certimate] 工作流 #1 Failure","message":"工作流 #1 \n部署证书 #5 = BT @ Chip-Web\n发生异常","skipOnAllPrevSkipped":false}}
[2025-11-24T21:33:45.778+08:00] [0] notification completed

#7xyzv7xmzq12oki 结束
[2025-11-24T21:33:45.779+08:00] [0] the workflow is ending

Miscellaneous / 其他

该问题只存在于v0.4.6版本
查看之前日志的时候发现更新之前是可以正常部署的

旧版本日志
[2025-11-19T18:42:57.515+08:00] [0] ready to deploy certificate ... {"config":{"certificateOutputNodeId":"Y8JYzlgX9KX2NDVXqPi7k","provider":"baotapanel-site","providerAccessId":"nyee2nynhu5uhud","providerConfig":{"siteNames":,"siteType":"other"},"skipOnLastSucceeded":true}}
[2025-11-19T18:42:57.517+08:00] [0] re-deploy, because the configuration item 'ProviderConfig' changed
[2025-11-19T18:42:57.655+08:00] [-4] sdk request 'bt.SSLCertSaveCert' {"request":{},"response":{"status":true,"msg":"证书已存在","ssl_hash":"dc29717b8d357356713ca598c4a8b8a5"}}
[2025-11-19T18:43:02.968+08:00] [-4] sdk request 'bt.SSLSetBatchCertToSite' {"request":{"BatchInfo":[{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""}]},"response":{"total":20,"success":20,"faild":0}}
[2025-11-19T18:43:02.970+08:00] [0] deployment completed

Contribution / 贡献代码

  • I am interested in contributing a PR for this! / 我乐意为此提交代码并发起 PR!
Originally created by @0xc0000142 on GitHub (Nov 24, 2025). Original GitHub issue: https://github.com/certimate-go/certimate/issues/1059 ### Release Version / 软件版本 v0.4.6 ### Description / 缺陷描述 在已推送证书后更改宝塔面板内网站导致需要重新推送证书,重复推送证书时会发生 `failed to execute sdk request 'bt.SSLCertSaveCert': sdkerr: api error: message='证书已存在'` 错误 ### Steps to reproduce / 复现步骤 1. 申请个证书并推送 2. 在宝塔面板内新增个网站 3. 更改工作流以向新的网站推送证书 4. 执行工作流 ### Logs / 日志 <details> (域名和证书信息已删除) ```console #3UzbNpJD7jiFokPYa1ucI 开始 [2025-11-24T21:33:43.456+08:00] [0] the workflow is starting #5Tphg5TQHNIPLdqEymJxv 通知 [2025-11-24T21:33:43.457+08:00] [0] ready to send notification ... {"config":{"provider":"telegrambot","providerAccessId":"7sh21fl471oy6ix","subject":"[Certimate] 工作流#1 开始执行","message":"工作流 #1\n开始执行","skipOnAllPrevSkipped":false}} [2025-11-24T21:33:44.505+08:00] [0] notification completed #Y8JYzlgX9KX2NDVXqPi7k 申请 [2025-11-24T21:33:44.507+08:00] [0] ready to request certificate ... {"config":{"domains"skipBeforeExpiryDays":60}} [2025-11-24T21:33:44.509+08:00] [0] found last workflow run #2keurqdhwzpf6m1 [2025-11-24T21:33:44.509+08:00] [0] skip this application, because the last issued certificate #q3i7jpscfi4ur2i expires in 89 day(s), next renewal will be in 60 day(s) #oPaHa_oT98uJGCoOYKVSZ 分支 1 [2025-11-24T21:33:44.510+08:00] [0] enter this branch without any conditions #WuHOTX5md-aCnK1QDJCMQ 部署 [2025-11-24T21:33:44.511+08:00] [0] ready to deploy certificate ... {"config":{"certificateOutputNodeId":"Y8JYzlgX9KX2NDVXqPi7k","provider":"tencentcloud-eo","providerAccessId":"rbko3v6q9vaizqv","providerConfig":{"domains"skipOnLastSucceeded":true}} [2025-11-24T21:33:44.512+08:00] [0] found last workflow run #2keurqdhwzpf6m1 [2025-11-24T21:33:44.513+08:00] [0] skip this deployment, because the last deployment already completed #U4zJ_-sBbAsFXz421vKBp 通知 [2025-11-24T21:33:44.515+08:00] [0] ready to send notification ... {"config":{"provider":"telegrambot","providerAccessId":"7sh21fl471oy6ix","subject":"[Certimate] 工作流 #1 Notice","message":"工作流#1 \n部署证书 #1 = EdgeOne\n成功","skipOnAllPrevSkipped":true}} [2025-11-24T21:33:44.515+08:00] [0] skip this application, because all the previous nodes have been skipped #1hJOIgMEkvdgKVRRv5YUS 分支 2 [2025-11-24T21:33:44.516+08:00] [0] enter this branch without any conditions #yPuh8tWJFwWrVgmk8L-my 部署-WebP [2025-11-24T21:33:44.517+08:00] [0] ready to deploy certificate ... {"config":{"certificateOutputNodeId":"Y8JYzlgX9KX2NDVXqPi7k","provider":"baotapanel-site","providerAccessId":"hpyqbswy1yr38au","providerConfig":{"siteNames":,"siteType":"any"},"skipOnLastSucceeded":true}} [2025-11-24T21:33:44.518+08:00] [0] found last workflow run #sgxuhb2vuqokr51 [2025-11-24T21:33:44.519+08:00] [0] skip this deployment, because the last deployment already completed #Jxpp_5VWDJ6FSzcK7Mq7r 通知 [2025-11-24T21:33:44.520+08:00] [0] ready to send notification ... {"config":{"provider":"telegrambot","providerAccessId":"7sh21fl471oy6ix","subject":"[Certimate] 工作流 #1 Notice","message":"工作流#1 \n部署证书 #2 = BT @ WebProxy\n成功","skipOnAllPrevSkipped":true}} [2025-11-24T21:33:44.521+08:00] [0] skip this application, because all the previous nodes have been skipped #1pgkrmAeqEyBB8GmNxUOm 分支 3 [2025-11-24T21:33:44.521+08:00] [0] enter this branch without any conditions #E3VVA4WR3HhDr6cLJymQO 部署-Web [2025-11-24T21:33:44.522+08:00] [0] ready to deploy certificate ... {"config":{"certificateOutputNodeId":"Y8JYzlgX9KX2NDVXqPi7k","provider":"baotapanel-site","providerAccessId":"fdabwvpxtdbphdk","providerConfig":{"siteNames":"","siteType":"any"},"skipOnLastSucceeded":true}} [2025-11-24T21:33:44.523+08:00] [0] found last workflow run #sgxuhb2vuqokr51 [2025-11-24T21:33:44.524+08:00] [0] skip this deployment, because the last deployment already completed #nYPif-sJnZvMqSaW54r5R 通知 [2025-11-24T21:33:44.525+08:00] [0] ready to send notification ... {"config":{"provider":"telegrambot","providerAccessId":"7sh21fl471oy6ix","subject":"[Certimate] 工作流 #1 Notice","message":"工作流 #1 \n部署证书 #3 = BT@Web\n成功","skipOnAllPrevSkipped":true}} [2025-11-24T21:33:44.526+08:00] [0] skip this application, because all the previous nodes have been skipped #XgKrxn1gHh96JQmVmZJr_ 分支 4 [2025-11-24T21:33:44.526+08:00] [0] enter this branch without any conditions #h3nnRqEGOMirgMjoU-4Cp 部署-BJ [2025-11-24T21:33:44.527+08:00] [0] ready to deploy certificate ... {"config":{"certificateOutputNodeId":"Y8JYzlgX9KX2NDVXqPi7k","provider":"baotapanel-site","providerAccessId":"nyee2nynhu5uhud","providerConfig":{"siteNames":,"siteType":"any"},"skipOnLastSucceeded":true}} [2025-11-24T21:33:44.528+08:00] [0] found last workflow run #sgxuhb2vuqokr51 [2025-11-24T21:33:44.529+08:00] [0] skip this deployment, because the last deployment already completed #z1vdL-nxN_iIwZtEWGjJS 通知 [2025-11-24T21:33:44.530+08:00] [0] ready to send notification ... {"config":{"provider":"telegrambot","providerAccessId":"7sh21fl471oy6ix","subject":"[Certimate] 工作流 #1 Notice","message":"工作流 #1 \n部署证书 #4 = BT @ BJ\n成功","skipOnAllPrevSkipped":true}} [2025-11-24T21:33:44.531+08:00] [0] skip this application, because all the previous nodes have been skipped #SU78ECm5OOg7kNj--lmT5 分支 5 [2025-11-24T21:33:44.532+08:00] [0] enter this branch without any conditions #KFmi3l94k7m4sTRmfrfbP 部署-Chip [2025-11-24T21:33:44.533+08:00] [0] ready to deploy certificate ... {"config":{"certificateOutputNodeId":"Y8JYzlgX9KX2NDVXqPi7k","provider":"baotapanel-site","providerAccessId":"unmeoxyjcr2s1vk","providerConfig":{"siteNames":,"siteType":"any"},"skipOnLastSucceeded":true}} [2025-11-24T21:33:44.534+08:00] [0] found last workflow run #sgxuhb2vuqokr51 [2025-11-24T21:33:44.535+08:00] [0] skip this deployment, because the last deployment already completed #PSrOiPe3jBaZLo_Y7qMqg 部署-Chip-copy [2025-11-24T21:33:44.536+08:00] [0] ready to deploy certificate ... {"config":{"certificateOutputNodeId":"Y8JYzlgX9KX2NDVXqPi7k","provider":"baotapanel-site","providerAccessId":"unmeoxyjcr2s1vk","providerConfig":{"siteNames":","siteType":"any"},"skipOnLastSucceeded":true}} [2025-11-24T21:33:44.537+08:00] [0] found last workflow run #sgxuhb2vuqokr51 [2025-11-24T21:33:44.538+08:00] [0] skip this deployment, because the last deployment already completed #MC-Y7pPz9xovv5HLn9d2i 部署-copy [2025-11-24T21:33:44.538+08:00] [0] ready to deploy certificate ... {"config":{"certificateOutputNodeId":"Y8JYzlgX9KX2NDVXqPi7k","provider":"baotapanel-site","providerAccessId":"ddftqr45jy6572f","providerConfig":{"siteNames":"speedtest.pjl.0xc.cn;speed.pjl.0xc.cn;speed.halac.cn;speedtest.halac.cn","siteType":"any"},"skipOnLastSucceeded":true}} [2025-11-24T21:33:44.539+08:00] [0] found last workflow run #sgxuhb2vuqokr51 [2025-11-24T21:33:44.540+08:00] [0] skip this deployment, because the last deployment already completed #2l-XeiSYde8p3hYQuHniN 部署-copy-copy [2025-11-24T21:33:44.541+08:00] [0] ready to deploy certificate ... {"config":{"certificateOutputNodeId":"Y8JYzlgX9KX2NDVXqPi7k","provider":"baotapanel-site","providerAccessId":"r9vanf1fl5yhgds","providerConfig":{"siteNames":,"siteType":"any"},"skipOnLastSucceeded":false}} [2025-11-24T21:33:44.542+08:00] [0] found last workflow run #2keurqdhwzpf6m1 [2025-11-24T21:33:44.543+08:00] [0] re-deploy, because the configuration item 'ProviderConfig' changed [2025-11-24T21:33:44.715+08:00] [-4] sdk request 'bt.SSLCertSaveCert' {"request":{"key":"-----BEGIN RSA PRIVATE KEY----------END RSA PRIVATE KEY-----","csr":"-----BEGIN CERTIFICATE-----\n-----END CERTIFICATE-----\n\n-----BEGIN CERTIFICATE-----\n-----END CERTIFICATE-----"},"response":{"status":false,"msg":"证书已存在","ssl_hash":""}} [2025-11-24T21:33:44.716+08:00] [4] could not deploy certificate [2025-11-24T21:33:44.717+08:00] [8] failed to execute sdk request 'bt.SSLCertSaveCert': sdkerr: api error: message='证书已存在' #CQaUiwSzMSky5poc-PfEG 通知 [2025-11-24T21:33:44.718+08:00] [0] ready to send notification ... {"config":{"provider":"telegrambot","providerAccessId":"7sh21fl471oy6ix","subject":"[Certimate] 工作流 #1 Failure","message":"工作流 #1 \n部署证书 #5 = BT @ Chip-Web\n发生异常","skipOnAllPrevSkipped":false}} [2025-11-24T21:33:45.778+08:00] [0] notification completed #7xyzv7xmzq12oki 结束 [2025-11-24T21:33:45.779+08:00] [0] the workflow is ending ``` </details> ### Miscellaneous / 其他 该问题只存在于v0.4.6版本 查看之前日志的时候发现更新之前是可以正常部署的 <details> 旧版本日志 ``` [2025-11-19T18:42:57.515+08:00] [0] ready to deploy certificate ... {"config":{"certificateOutputNodeId":"Y8JYzlgX9KX2NDVXqPi7k","provider":"baotapanel-site","providerAccessId":"nyee2nynhu5uhud","providerConfig":{"siteNames":,"siteType":"other"},"skipOnLastSucceeded":true}} [2025-11-19T18:42:57.517+08:00] [0] re-deploy, because the configuration item 'ProviderConfig' changed [2025-11-19T18:42:57.655+08:00] [-4] sdk request 'bt.SSLCertSaveCert' {"request":{},"response":{"status":true,"msg":"证书已存在","ssl_hash":"dc29717b8d357356713ca598c4a8b8a5"}} [2025-11-19T18:43:02.968+08:00] [-4] sdk request 'bt.SSLSetBatchCertToSite' {"request":{"BatchInfo":[{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""},{"ssl_hash":"dc29717b8d357356713ca598c4a8b8a5","siteName":"","certName":""}]},"response":{"total":20,"success":20,"faild":0}} [2025-11-19T18:43:02.970+08:00] [0] deployment completed ``` ### Contribution / 贡献代码 - [ ] I am interested in contributing a PR for this! / 我乐意为此提交代码并发起 PR!
kerem 2026-03-03 01:05:26 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@0xc0000142 commented on GitHub (Nov 24, 2025):

服务器宝塔面板版本太低了没发现(((

<!-- gh-comment-id:3570945160 --> @0xc0000142 commented on GitHub (Nov 24, 2025): 服务器宝塔面板版本太低了没发现(((
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certimate#715
No description provided.