How to renew the ssl certificate?

(base) [root@ip-172-31-23-114 configs]# ./certbot-auto renew --server
/opt/ CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography import x509
Saving debug log to /var/log/letsencrypt/letsencrypt.log

Processing /etc/letsencrypt/renewal/

Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator standalone, Installer None
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for
Cleaning up challenges
Attempting to renew cert ( from /etc/letsencrypt/renewal/ produced an unexpected error: Problem binding to port 80: Could not bind to IPv4 or IPv6… Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/ (failure)

All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/ (failure)

1 renew failure(s), 0 parse failure(s)

(base) [root@ip-172-31-23-114 configs]# certbot --version
certbot 1.4.0
(base) [root@ip-172-31-23-114 configs]# uname -a
Linux ip-172-31-23-114 4.14.171-105.231.amzn1.x86_64 #1 SMP Thu Feb 27 23:49:15 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
(base) [root@ip-172-31-23-114 configs]# ls

If you use nginx, you should try renew your certificate using the nginx or webroot plugins.

The standalone plugin is only suitable for when you have no webserver running.


certbot renew -a nginx --post-hook "service nginx reload"

I have successfully renewed the certificate but I’m getting NGINX error.

Please help me with it

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