nginx

joseayudarte91 2018-01-18T14:48:52.000855Z

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.

joseayudarte91 2018-01-18T14:50:02.000682Z

This is when trying to renew.

joseayudarte91 2018-01-18T14:50:25.000455Z

So this is the status after that.

joseayudarte91 2018-01-18T14:50:47.000604Z

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.

joseayudarte91 2018-01-18T14:51:12.000674Z

Any clues? Many thanks in advance!