Fork me on GitHub
#nginx
<
2018-01-18
>
joseayudarte9114:01:52

Hi all! I have an issue trying to set up SSL with nginx and Certbot. Well, the problem is happening when trying to renew the cert, as I have to set a cron task to automate it. I did in production environment before but when there was that nginx plugin available to perform domain verification. Now I use the Standalone set up as there was some security issue: $ sudo certbot --authenticator standalone --installer nginx --pre-hook "nginx -s stop" --post-hook "nginx". So when trying to renew SSL cert, those hooks fail. I will post some screenshots here. I don’t know what is going on with my nginx process.

joseayudarte9114:01:47

And when starting the server I have that error: Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.

joseayudarte9114:01:12

Any clues? Many thanks in advance!