[GH-ISSUE #1099] [Bug] 复制正常的工作流并修改相关节点域名运行错误 #743

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

Originally created by @13723778149 on GitHub (Dec 10, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/1099

Release Version / 软件版本

v0.4.7

Description / 缺陷描述

复制的工作流无法正常运行

Steps to reproduce / 复现步骤

正常运行的工作流,它是先监控再部署证书的流程,运行是正常的,然后,我复制运行正常的工作流,并修改复制工作流里面的域名为新域名,运行复制工作流会提示“invalid input certificate”,日志如下

Logs / 日志

日志
已失败
#uva3lK8cBo5gH6udF7_Oy 开始
[2025-12-10 10:13:33]
the workflow is starting
#E_LYBVoKOXOuog8xxcfdp 监控
[2025-12-10 10:13:33]
ready to monitor certificate ...
[2025-12-10 10:13:33]
retrieving certificate at xzshop.imajo.top:443 (domain: xzshop.imajo.top)
[2025-12-10 10:13:33]
ssl certificate retrieved (serial='76036628834929946613265142089289143100', subject='CN=.imajo.top', issuer='CN=WoTrus DV Server CA [Run by the Issuer],O=WoTrus CA Limited,C=CN', not_before='2020-12-22T00:00:00Z', not_after='2022-01-21T23:59:59Z', sans='.imajo.top;imajo.top')
[2025-12-10 10:13:33]
the certificate is invalid, because it is either expired or not yet valid
[2025-12-10 10:13:33]
monitoring completed
#CzGa_gSA3K5uBCfpdncA1 若网站证书即将过期…
[2025-12-10 10:13:33]
skip this branch, because condition not met
#eBQCmiwJpOIivAE-xq22Y 若网站证书已过期…
[2025-12-10 10:13:33]
enter this branch, because condition met
#bt9E7PuaTjaG-1Ms4YGPE 通知
[2025-12-10 10:13:33]
ready to send notification ...
[2025-12-10 10:13:33]
notification completed
#VInRRms2iUGwkLeBNQLus 申请
[2025-12-10 10:13:33]
ready to request certificate ...
[2025-12-10 10:13:33]
no found last issued certificate, begin to apply
[2025-12-10 10:13:33]
acme config initialized
[2025-12-10 10:13:33]
acme account initialized
[2025-12-10 10:13:35]
[xzshop.imajo.top] acme: Obtaining bundled SAN certificate
[2025-12-10 10:13:36]
[xzshop.imajo.top] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz/2860502496/625225581666
[2025-12-10 10:13:36]
[xzshop.imajo.top] acme: Could not find solver for: tls-alpn-01
[2025-12-10 10:13:36]
[xzshop.imajo.top] acme: Could not find solver for: http-01
[2025-12-10 10:13:36]
[xzshop.imajo.top] acme: use dns-01 solver
[2025-12-10 10:13:36]
[xzshop.imajo.top] acme: Preparing to solve DNS-01
[2025-12-10 10:13:36]
[xzshop.imajo.top] acme: Trying to solve DNS-01
[2025-12-10 10:13:36]
[xzshop.imajo.top] acme: Checking DNS record propagation. [nameservers=127.0.0.11:53]
[2025-12-10 10:13:38]
Wait for propagation [timeout: 1m0s, interval: 2s]
[2025-12-10 10:13:44]
[xzshop.imajo.top] The server validated our request
[2025-12-10 10:13:44]
[xzshop.imajo.top] acme: Cleaning DNS-01 challenge
[2025-12-10 10:13:45]
[xzshop.imajo.top] acme: Validations succeeded; requesting certificates
[2025-12-10 10:13:47]
[xzshop.imajo.top] Server responded with a certificate.
[2025-12-10 10:13:47]
certificate saved
[2025-12-10 10:13:47]
application completed
#UDKl5egkGT7MenYl84XeT 部署
[2025-12-10 10:13:47]
ready to deploy certificate ...
config:
{"certificateOutputNodeId":"3zN1aKjI8JELB5QXHh4Gc","provider":"webhook","providerAccessId":"ciw45uklxchd7ex","providerConfig":{"webhookData":"{\n "name": "${DOMAINS}",\n "cert": "${CERTIFICATE}",\n "privkey": "${PRIVATE_KEY}",\n "target_host": "php_server",\n "target_ssl_certificate": "/www/server/panel/vhost/cert/${DOMAIN}/fullchain.pem",\n "target_ssl_certificate_key": "/www/server/panel/vhost/cert/${DOMAIN}/privkey.pem"\n}"},"skipOnLastSucceeded":true}
[2025-12-10 10:13:47]
invalid input certificate
#78PCMJvlmyq3gFsxcB-yK 通知
[2025-12-10 10:13:47]
ready to send notification ...
[2025-12-10 10:13:47]
notification completed
#OelfZLwBqtQI65ZNZyN8H 结束
[2025-12-10 10:13:47]
the workflow is ending

Miscellaneous / 其他

No response

Contribution / 贡献代码

  • I am interested in contributing a PR for this! / 我乐意为此提交代码并发起 PR!
Originally created by @13723778149 on GitHub (Dec 10, 2025). Original GitHub issue: https://github.com/certimate-go/certimate/issues/1099 ### Release Version / 软件版本 v0.4.7 ### Description / 缺陷描述 复制的工作流无法正常运行 ### Steps to reproduce / 复现步骤 正常运行的工作流,它是先监控再部署证书的流程,运行是正常的,然后,我复制运行正常的工作流,并修改复制工作流里面的域名为新域名,运行复制工作流会提示“invalid input certificate”,日志如下 ### Logs / 日志 日志 已失败 #uva3lK8cBo5gH6udF7_Oy 开始 [2025-12-10 10:13:33] the workflow is starting #E_LYBVoKOXOuog8xxcfdp 监控 [2025-12-10 10:13:33] ready to monitor certificate ... [2025-12-10 10:13:33] retrieving certificate at xzshop.imajo.top:443 (domain: xzshop.imajo.top) [2025-12-10 10:13:33] ssl certificate retrieved (serial='76036628834929946613265142089289143100', subject='CN=*.imajo.top', issuer='CN=WoTrus DV Server CA [Run by the Issuer],O=WoTrus CA Limited,C=CN', not_before='2020-12-22T00:00:00Z', not_after='2022-01-21T23:59:59Z', sans='*.imajo.top;imajo.top') [2025-12-10 10:13:33] the certificate is invalid, because it is either expired or not yet valid [2025-12-10 10:13:33] monitoring completed #CzGa_gSA3K5uBCfpdncA1 若网站证书即将过期… [2025-12-10 10:13:33] skip this branch, because condition not met #eBQCmiwJpOIivAE-xq22Y 若网站证书已过期… [2025-12-10 10:13:33] enter this branch, because condition met #bt9E7PuaTjaG-1Ms4YGPE 通知 [2025-12-10 10:13:33] ready to send notification ... [2025-12-10 10:13:33] notification completed #VInRRms2iUGwkLeBNQLus 申请 [2025-12-10 10:13:33] ready to request certificate ... [2025-12-10 10:13:33] no found last issued certificate, begin to apply [2025-12-10 10:13:33] acme config initialized [2025-12-10 10:13:33] acme account initialized [2025-12-10 10:13:35] [xzshop.imajo.top] acme: Obtaining bundled SAN certificate [2025-12-10 10:13:36] [xzshop.imajo.top] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz/2860502496/625225581666 [2025-12-10 10:13:36] [xzshop.imajo.top] acme: Could not find solver for: tls-alpn-01 [2025-12-10 10:13:36] [xzshop.imajo.top] acme: Could not find solver for: http-01 [2025-12-10 10:13:36] [xzshop.imajo.top] acme: use dns-01 solver [2025-12-10 10:13:36] [xzshop.imajo.top] acme: Preparing to solve DNS-01 [2025-12-10 10:13:36] [xzshop.imajo.top] acme: Trying to solve DNS-01 [2025-12-10 10:13:36] [xzshop.imajo.top] acme: Checking DNS record propagation. [nameservers=127.0.0.11:53] [2025-12-10 10:13:38] Wait for propagation [timeout: 1m0s, interval: 2s] [2025-12-10 10:13:44] [xzshop.imajo.top] The server validated our request [2025-12-10 10:13:44] [xzshop.imajo.top] acme: Cleaning DNS-01 challenge [2025-12-10 10:13:45] [xzshop.imajo.top] acme: Validations succeeded; requesting certificates [2025-12-10 10:13:47] [xzshop.imajo.top] Server responded with a certificate. [2025-12-10 10:13:47] certificate saved [2025-12-10 10:13:47] application completed #UDKl5egkGT7MenYl84XeT 部署 [2025-12-10 10:13:47] ready to deploy certificate ... config: {"certificateOutputNodeId":"3zN1aKjI8JELB5QXHh4Gc","provider":"webhook","providerAccessId":"ciw45uklxchd7ex","providerConfig":{"webhookData":"{\n \"name\": \"${DOMAINS}\",\n \"cert\": \"${CERTIFICATE}\",\n \"privkey\": \"${PRIVATE_KEY}\",\n \"target_host\": \"php_server\",\n \"target_ssl_certificate\": \"/www/server/panel/vhost/cert/${DOMAIN}/fullchain.pem\",\n \"target_ssl_certificate_key\": \"/www/server/panel/vhost/cert/${DOMAIN}/privkey.pem\"\n}"},"skipOnLastSucceeded":true} [2025-12-10 10:13:47] invalid input certificate #78PCMJvlmyq3gFsxcB-yK 通知 [2025-12-10 10:13:47] ready to send notification ... [2025-12-10 10:13:47] notification completed #OelfZLwBqtQI65ZNZyN8H 结束 [2025-12-10 10:13:47] the workflow is ending ### Miscellaneous / 其他 _No response_ ### Contribution / 贡献代码 - [ ] I am interested in contributing a PR for this! / 我乐意为此提交代码并发起 PR!
kerem 2026-03-03 01:05:40 +03:00
  • closed this issue
  • added the
    bug
    stale
    labels
Author
Owner

@fudiwei commented on GitHub (Dec 10, 2025):

在部署节点里重新选一下待部署证书。

<!-- gh-comment-id:3635444399 --> @fudiwei commented on GitHub (Dec 10, 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#743
No description provided.