How to renew the ssl certificate?

(base) [root@ip-172-31-23-114 configs]# ./certbot-auto renew --server https://acme-v02.api.letsencrypt.org/directory
/opt/eff.org/certbot/venv/local/lib/python2.7/dist-packages/OpenSSL/crypto.py:12: 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/iot.smarttrak.info.conf


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 iot.smarttrak.info
Cleaning up challenges
Attempting to renew cert (iot.smarttrak.info) from /etc/letsencrypt/renewal/iot.smarttrak.info.conf 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/iot.smarttrak.info/fullchain.pem (failure)


All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/iot.smarttrak.info/fullchain.pem (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
certbot-auto iot.smarttrak.info…conf

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.

Try:

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.