[GH-ISSUE #928] [Bug] 证书没有自动续期 #634

Closed
opened 2026-03-03 01:04:50 +03:00 by kerem · 4 comments
Owner

Originally created by @ReddotCleaner on GitHub (Aug 15, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/928

软件版本 / Release Version

0.3.26

缺陷描述 / Description

Image 证书仅剩一天,未自动续期;下面的也是直接过期了,未自动续期

复现步骤 / Steps to reproduce

工作流如图

Image

日志 / Logs

#

其他 / Miscellaneous

No response

贡献 / Contribution

  • 我乐意为此贡献 PR! / I am interested in contributing a PR for this!
Originally created by @ReddotCleaner on GitHub (Aug 15, 2025). Original GitHub issue: https://github.com/certimate-go/certimate/issues/928 ### 软件版本 / Release Version 0.3.26 ### 缺陷描述 / Description <img width="1372" height="203" alt="Image" src="https://github.com/user-attachments/assets/36c486ba-fe58-4df4-bdb0-399186f80925" /> 证书仅剩一天,未自动续期;下面的也是直接过期了,未自动续期 ### 复现步骤 / Steps to reproduce 工作流如图 <img width="1535" height="351" alt="Image" src="https://github.com/user-attachments/assets/968a57af-17be-4ac7-b955-521acce42db0" /> ### 日志 / Logs <details> ```console # 无 ``` </details> ### 其他 / Miscellaneous _No response_ ### 贡献 / Contribution - [ ] 我乐意为此贡献 PR! / I am interested in contributing a PR for this!
kerem 2026-03-03 01:04:50 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@fudiwei commented on GitHub (Aug 15, 2025):

0/60 * * * * 是一个无效的 cron 表达式。

cron 表达式有好多种规则,语法不完全一致。certimate 后端用的是 Unix crontab 那版的。而因为 Java 在国内的流行所以主流的还有 Spring 和 Quartz 这两种规则,而符合这两种规则的表达式却未必符合 crontab 规则。

现在某些无效的表达式也能被保存,但无法触发定时任务。#906 提到了这个 Bug。

你可以先在 https://crontab.guru/ 这个网站上验证表达式。这个 Issue 我先关了,后续修复请关注 #906。

<!-- gh-comment-id:3190475179 --> @fudiwei commented on GitHub (Aug 15, 2025): `0/60 * * * *` 是一个无效的 cron 表达式。 cron 表达式有好多种规则,语法不完全一致。certimate 后端用的是 Unix crontab 那版的。而因为 Java 在国内的流行所以主流的还有 Spring 和 Quartz 这两种规则,而符合这两种规则的表达式却未必符合 crontab 规则。 现在某些无效的表达式也能被保存,但无法触发定时任务。#906 提到了这个 Bug。 你可以先在 https://crontab.guru/ 这个网站上验证表达式。这个 Issue 我先关了,后续修复请关注 #906。
Author
Owner

@fudiwei commented on GitHub (Aug 15, 2025):

mark

#790 #919 传送过来的用户可以先自行排查一下是否是这个原因导致的工作流不执行(但这两个 Issue 本身不是这个原因)。

<!-- gh-comment-id:3190478686 --> @fudiwei commented on GitHub (Aug 15, 2025): mark 从 #790 #919 传送过来的用户可以先自行排查一下是否是这个原因导致的工作流不执行(但这两个 Issue 本身不是这个原因)。
Author
Owner

@ReddotCleaner commented on GitHub (Aug 15, 2025):

0/60 * * * * 是一个无效的 cron 表达式。

cron 表达式有好多种规则,语法不完全一致。certimate 后端用的是 Unix crontab 那版的。而因为 Java 在国内的流行所以主流的还有 Spring 和 Quartz 这两种规则,而符合这两种规则的表达式却未必符合 crontab 规则。

现在某些无效的表达式也能被保存,但无法触发定时任务。#906 提到了这个 Bug。

你可以先在 https://crontab.guru/ 这个网站上验证表达式。后续修复请关注 #906

crontab会导致证书不进行自动更新吗?我先排除下自动任务的问题

<!-- gh-comment-id:3190482305 --> @ReddotCleaner commented on GitHub (Aug 15, 2025): > `0/60 * * * *` 是一个无效的 cron 表达式。 > > cron 表达式有好多种规则,语法不完全一致。certimate 后端用的是 Unix crontab 那版的。而因为 Java 在国内的流行所以主流的还有 Spring 和 Quartz 这两种规则,而符合这两种规则的表达式却未必符合 crontab 规则。 > > 现在某些无效的表达式也能被保存,但无法触发定时任务。[#906](https://github.com/certimate-go/certimate/issues/906) 提到了这个 Bug。 > > 你可以先在 https://crontab.guru/ 这个网站上验证表达式。后续修复请关注 [#906](https://github.com/certimate-go/certimate/issues/906) crontab会导致证书不进行自动更新吗?我先排除下自动任务的问题
Author
Owner

@ReddotCleaner commented on GitHub (Aug 15, 2025):

mark

#790 #919 传送过来的用户可以先自行排查一下是否是这个原因导致的工作流不执行(但这两个 Issue 本身不是这个原因)。

Image Image

定期任务已执行,但是证书依旧没有更新

<!-- gh-comment-id:3190773664 --> @ReddotCleaner commented on GitHub (Aug 15, 2025): > mark > > 从 [#790](https://github.com/certimate-go/certimate/issues/790) [#919](https://github.com/certimate-go/certimate/issues/919) 传送过来的用户可以先自行排查一下是否是这个原因导致的工作流不执行(但这两个 Issue 本身不是这个原因)。 <img width="849" height="633" alt="Image" src="https://github.com/user-attachments/assets/1536f952-92ee-4201-b3e3-beb185fd5ad3" /> <img width="1345" height="112" alt="Image" src="https://github.com/user-attachments/assets/8623be9d-7bce-4e58-b6fb-0d2842da1740" /> 定期任务已执行,但是证书依旧没有更新
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#634
No description provided.