Cannot renew my certificate

Hi Morning, Please help me. when i run this command "sudo certbot --authenticator standalone --installer nginx -d --pre-hook “service nginx stop” --post-hook “service nginx start”

Saving debug log to /var/log/letsencrypt/letsencrypt.log

Plugins selected: Authenticator standalone, Installer nginx

Cert is due for renewal, auto-renewing…

Running pre-hook command: service nginx stop

Renewing an existing certificate

Performing the following challenges:

http-01 challenge for

Cleaning up challenges

Running post-hook command: service nginx start

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.


Hi @aungsithu

you have already created 3 certificates in the last days ( ):

CertSpotter-Id Issuer not before not after Domain names LE-Duplicate next LE
972628475 CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US 2019-06-18 02:30:20 2019-09-16 02:30:20,,,,, - 6 entries duplicate nr. 1
972399639 CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US 2019-06-17 23:33:46 2019-09-15 23:33:46 - 1 entries duplicate nr. 1
968562402 CN="cPanel, Inc. Certification Authority", O="cPanel, Inc.", L=Houston, C=US, ST=TX 2019-06-15 00:00:00 2019-09-13 23:59:59, - 2 entries

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.

Start with

sudo certbot --nginx -d

You have a new certificate
expires in 90 days - 1 entry

but that has only one domain name, so your www-version is insecure

@JuergenAuer, Thanks for replying.

I will try to fix this problem.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.