datproject-discussions icon indicating copy to clipboard operation
datproject-discussions copied to clipboard

ghost blog ssl renew script is not working

Open max-mapper opened this issue 7 years ago • 1 comments

our blog's ssl cert went bad today. i went in the server and noticed this in the crontab:

15 3 * * * sudo service stop nginx && /usr/bin/certbot renew --quiet --renew-hook "/bin/systemctl reload nginx"

I tried running that and got errors. so I dont think that command is correct, or maybe I was doing something wrong. Also we're running the blog process as root which is probably bad.

max-mapper avatar Nov 01 '17 00:11 max-mapper

sudo system nginc stop should fix it i think but using add-nginx-ssl would fix it as well without having to restart nginx on renew

mafintosh avatar Nov 01 '17 05:11 mafintosh