【发布时间】:2016-05-01 19:52:07
【问题描述】:
我目前正在我的 MongoDB 安装中使用 let's encrypt 设置证书,现在我正在尝试设置自动续订,我找到了一个指南,说明如何在 nginx 中使用 cronjob 来实现这一点,这里是 crontab 文件:
30 2 * * 1 /opt/letsencrypt/letsencrypt-auto renew >> /var/log/le-renew.log
35 2 * * 1 /etc/init.d/nginx reload
我注意到nginx在续订后需要重新启动,这也适用于mongodb吗?
这个 crontab 是否适用于 mongodb?
30 2 * * 1 /opt/letsencrypt/letsencrypt-auto renew >> /var/log/le-renew.log
35 2 * * 1 /etc/init.d/mongodb restart
谢谢!
【问题讨论】:
标签: android mongodb ssl parse-platform lets-encrypt