We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用 --valid-to '+7d'参数签发证书后,发现脚本设置的续期时间刚好是证书的到期时间。
--valid-to '+7d'
使用 --valid-to '+8d' --days 7 参数指定续期时间比证书有效期提前 1 天,但查看配置文件看到续期时间仍然是证书的到期时间
--valid-to '+8d' --days 7
The text was updated successfully, but these errors were encountered:
不要把 --days 和 --valid-to 混用. 推荐使用 --valid-to, 它真正实现了协议. --days 只是设定 renew 的日期, 并不改变 证书的有效期.
--days
--valid-to
Sorry, something went wrong.
@Neilpang 我的意思是我没法做到在证书过期之前让脚本自动续期证书。当我使用 --valid-to '+7d' 签发了证书后,证书的过期时间是 7 天,但脚本也只会在 7 天后才续期证书,这意味着一定会有服务中断的时间。
修了, 小于24小时的证书,会提前一小时更新, 否则 会提前一天更新.
这个修复预计什么时候提交到主分支呢
7169060
已经 merged
No branches or pull requests
使用
--valid-to '+7d'
参数签发证书后,发现脚本设置的续期时间刚好是证书的到期时间。使用
--valid-to '+8d' --days 7
参数指定续期时间比证书有效期提前 1 天,但查看配置文件看到续期时间仍然是证书的到期时间The text was updated successfully, but these errors were encountered: