gpt4 book ai didi

node.js - Letsencrypt 更新错误(Ubuntu, Nginx, Node.js)

转载 作者:搜寻专家 更新时间:2023-10-31 22:49:48 25 4
gpt4 key购买 nike

我继承了一个配置(Ubuntu、Nginx、Node.js、LetsEncrypt),其中 letsencrypt 证书即将到期。

我尝试了这些命令:

./letsencrypt-auto --renew --config/etc/letsencrypt/renewal/domain.conf certonly

./letsencrypt-auto --renew --config/etc/letsencrypt/renewal/domain.conf -d domain.com -d www.domain.com

两个案例都收到了如下回复:letsencrypt:错误:uir 是一个标志,但被设置为“无”

我试图将其更改为 false 或空,但没有用。

如何在此配置上更新 LetsEncrypt 证书?

最佳答案

尝试简单地使用 ./letsencrypt-auto renew

它应该自己读取位于 /etc/letsencrypt/renewal/domain.conf 的配置文件。

查看本教程(第 4 步)以了解它如何更新以及如何使用 crontab 自动执行: How to secure Nginx with Let's Encrypt on Ubuntu 14.04

关于node.js - Letsencrypt 更新错误(Ubuntu, Nginx, Node.js),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36111138/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com