zhannan 发表于 2017-1-14 14:52:49

Let's Encrypt(certbot) 证书续期提示 是否成功!

安装了lnmp 1.4,添加了证书!证书安装成功
我手动运行下续期代码: /bin/certbot renew --renew-hook
提示;
#/bin/certbot renew --renew-hook
/root/.local/share/letsencrypt/lib/python2.6/site-packages/cryptography/__init__.py:26: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of cryptography will drop support for Python 2.6
DeprecationWarning
usage:
certbot [-d DOMAIN] [-d DOMAIN] ...

Certbot can obtain and install HTTPS/TLS/SSL certificates.By default,
it will attempt to use a webserver both for obtaining and installing the
cert.
certbot: error: argument --renew-hook: expected one argument

这是出什么问题了?

licess 发表于 2017-1-14 19:06:42

--renew-hook是选项,你没写具体参数,错误信息里有提示

/bin/certbot renew --renew-hook "/etc/init.d/nginx reload"
页: [1]
查看完整版本: Let's Encrypt(certbot) 证书续期提示 是否成功!