ssl 证书 续期问题!

问答中心分类: Nginxssl 证书 续期问题!
aa99666 asked 8年 ago
证书 续期脚本 怎么 一两个周的 都没执行了。。
 
crontab -l 有执行任务
00 3 * * * /sbin/ntpdate time.windows.com > /dev/null 2>&1
0 10 * * 1 /usr/local/bin/certbot-auto certonly -a webroot --agree-tos --renew-by-default --webroot-path=/data/wwwroot/www.xx.cm -d http://www.xx.cm -d xx.cm;/etc/init.d/nginx reload
0 10 * * 1 /usr/local/bin/certbot-auto certonly -a webroot --agree-tos --renew-by-default --webroot-path=/data/wwwroot/www.xx.cn -d http://www.xx.cn -d xx.cn;/etc/init.d/nginx reload

3 Answers
oneinstack answered 8年 ago
手工触发试下,是否有报错?

aa99666 answered 8年 ago
  怎么 手工 触发。。  表示 没有 博主大大 那么好的 Linux 运维能力!。。  还请问下

Milktea answered 8年 ago
就是直接运行
/usr/local/bin/certbot-auto certonly -a webroot –agree-tos –renew-by-default –webroot-path=/data/wwwroot/www.xx.cm -d http://www.xx.cm -d xx.cm;/etc/init.d/nginx reload