Can't renew my certificate! FAILURE


#1

FAILURE to renew my certificate what should i do ? thank u


Port 80 is already in use by another process. This will prevent us from binding
to that port. Please stop the process that is populating the port in question
and try again. For automated renewal, you may want to use a script that stops
and starts your webserver. You can find an example at
https://certbot.eff.org/docs/using.html#renewal . Alternatively you can use the
webroot plugin to renew without needing to stop and start your webserver.

Cleaning up challenges
Attempting to renew cert from /etc/letsencrypt/renewal/example.co.conf produced an unexpected error: At least one of the (possibly) required ports is already taken… Skipping.


Processing /etc/letsencrypt/renewal/panel.example.co.conf

Cert is due for renewal, auto-renewing…
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for panel.example.co
tls-sni-01 challenge for www.panel.example.co


Port 80 is already in use by another process. This will prevent us from binding
to that port. Please stop the process that is populating the port in question
and try again. For automated renewal, you may want to use a script that stops
and starts your webserver. You can find an example at
https://certbot.eff.org/docs/using.html#renewal . Alternatively you can use the
webroot plugin to renew without needing to stop and start your webserver.

Cleaning up challenges
Attempting to renew cert from /etc/letsencrypt/renewal/panel.example.co.conf produced an unexpected error: At least one of the (possibly) required ports is already taken… Skipping.

All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/example.co/fullchain.pem (failure)
/etc/letsencrypt/live/panel.example.co/fullchain.pem (failure)
2 renew failure(s), 0 parse failure(s)
root@panel:~#


#2

You don’t say exactly what commands you have run / are running.

I assume you are running certbot (formally letsencrypt) with the “renew” option.

It looks as if you originally generated a certificate in “standalone” mode, and it’s trying to renew in standalone mode - hence asking you to shut down whatever other services are on port 80. It tells you what to do in the output.

You have 2 options;

  1. Shut down whatever service (apache ? nginx?) is currently using port 80 - and then try renewing. as in the instructions that are provided

[quote=“judegimeno, post:1, topic:20948”]
For automated renewal, you may want to use a script that stops
and starts your webserver. You can find an example at
https://certbot.eff.org/docs/using.html#renewal . [/quote]

The second option is not shut down the existing service, but rather use that service …


#3

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