Hi Morning, Please help me. when i run this command "sudo certbot --authenticator standalone --installer nginx -d straatosphere.com --pre-hook “service nginx stop” --post-hook “service nginx start”
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Hook command “service nginx start” returned error code 1
Error output from service:
Job for nginx.service failed because the control process exited with error code. See “systemctl status nginx.service” and “journalctl -xe” for details.
Problem binding to port 80: Could not bind to IPv4 or IPv6.
And you have a lot of older certificates, started 2017-04-10.
Looks like it is the first time you don't use tls-sni-01 validation. So switch to another validation method, not --standalone. So, the pre- and the post-hook are not longer required.