VPS侦探论坛

 找回密码
 注册
查看: 4428|回复: 1

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

[复制链接]
发表于 2017-1-14 14:52:49 | 显示全部楼层 |阅读模式

安装了lnmp 1.4,添加了证书!证书安装成功
我手动运行下续期代码: /bin/certbot renew --renew-hook
提示;
[root@localhost ~]#  /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 [SUBCOMMAND] [options] [-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

这是出什么问题了?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-1-14 19:06:42 | 显示全部楼层


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

/bin/certbot renew --renew-hook "/etc/init.d/nginx reload"
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 23:46 , Processed in 0.025247 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表