My domain is:
ccpracticum.com
I ran this command:
it is running the cron job script to autorenew certificates.
It produced this output:
My web server is (include version):
OpenLiteSpeed 1.7.16
The operating system my web server runs on is (include version):
Ubuntu 20.04
My hosting provider, if applicable, is:
AWS
I can login to a root shell on my machine (yes or no, or I don't know):
Yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
No
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
certbot 0.40.0
==========================================
Some of the error log
==========================================
2022-10-31 01:23:33,060:DEBUG:acme.client:Storing nonce: 327Cm1yvpJyIlUG64-oWufyllokPqI2cNQYajXHLnDLAaIY
2022-10-31 01:23:33,060:INFO:certbot.auth_handler:Performing the following challenges:
2022-10-31 01:23:33,060:INFO:certbot.auth_handler:http-01 challenge for ccpracticum.com
2022-10-31 01:23:33,060:INFO:certbot.auth_handler:http-01 challenge for www.ccpracticum.com
2022-10-31 01:23:33,060:DEBUG:acme.standalone:Failed to bind to :80 using IPv6
2022-10-31 01:23:33,060:DEBUG:acme.standalone:Failed to bind to :80 using IPv4
2022-10-31 01:23:33,063:DEBUG:certbot.error_handler:Encountered exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/certbot/plugins/standalone.py", line 70, in run
servers = acme_standalone.HTTP01DualNetworkedServers(
File "/usr/lib/python3/dist-packages/acme/standalone.py", line 153, in __init__
BaseDualNetworkedServers.__init__(self, HTTP01Server, *args, **kwargs)
File "/usr/lib/python3/dist-packages/acme/standalone.py", line 102, in __init__
raise socket.error("Could not bind to IPv4 or IPv6.")
OSError: Could not bind to IPv4 or IPv6.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 70, in handle_authorizations
resps = self.auth.perform(achalls)
File "/usr/lib/python3/dist-packages/certbot/plugins/standalone.py", line 156, in perform
return [self._try_perform_single(achall) for achall in achalls]
File "/usr/lib/python3/dist-packages/certbot/plugins/standalone.py", line 156, in <listcomp>
return [self._try_perform_single(achall) for achall in achalls]
File "/usr/lib/python3/dist-packages/certbot/plugins/standalone.py", line 163, in _try_perform_single
_handle_perform_error(error)
File "/usr/lib/python3/dist-packages/certbot/plugins/standalone.py", line 210, in _handle_perform_error
raise error
File "/usr/lib/python3/dist-packages/certbot/plugins/standalone.py", line 161, in _try_perform_single
return self._perform_single(achall)
File "/usr/lib/python3/dist-packages/certbot/plugins/standalone.py", line 166, in _perform_single
servers, response = self._perform_http_01(achall)
File "/usr/lib/python3/dist-packages/certbot/plugins/standalone.py", line 173, in _perform_http_01
servers = self.servers.run(port, challenges.HTTP01, listenaddr=addr)
File "/usr/lib/python3/dist-packages/certbot/plugins/standalone.py", line 73, in run
raise errors.StandaloneBindError(error, port)
certbot.errors.StandaloneBindError: Problem binding to port 80: Could not bind to IPv4 or IPv6.
2022-10-31 01:23:33,063:DEBUG:certbot.error_handler:Calling registered functions
2022-10-31 01:23:33,063:INFO:certbot.auth_handler:Cleaning up challenges
2022-10-31 01:23:33,063:WARNING:certbot.renewal:Attempting to renew cert (ccpracticum.com-0001) from /etc/letsencrypt/renewal/ccpracticum.com-0001.conf produced an unexpected error: Problem binding to port 80: Could not bind to IPv4 or IPv6.. Skipping.
2022-10-31 01:23:33,067:DEBUG:certbot.renewal:Traceback was:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/certbot/plugins/standalone.py", line 70, in run
servers = acme_standalone.HTTP01DualNetworkedServers(
File "/usr/lib/python3/dist-packages/acme/standalone.py", line 153, in __init__
BaseDualNetworkedServers.__init__(self, HTTP01Server, *args, **kwargs)
File "/usr/lib/python3/dist-packages/acme/standalone.py", line 102, in __init__
raise socket.error("Could not bind to IPv4 or IPv6.")
OSError: Could not bind to IPv4 or IPv6.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/certbot/renewal.py", line 462, in handle_renewal_request
main.renew_cert(lineage_config, plugins, renewal_candidate)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1208, in renew_cert
renewed_lineage = _get_and_save_cert(le_client, config, lineage=lineage)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 116, in _get_and_save_cert
renewal.renew_cert(config, domains, le_client, lineage)
File "/usr/lib/python3/dist-packages/certbot/renewal.py", line 320, in renew_cert
new_cert, new_chain, new_key, _ = le_client.obtain_certificate(domains, new_key)
File "/usr/lib/python3/dist-packages/certbot/client.py", line 348, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
File "/usr/lib/python3/dist-packages/certbot/client.py", line 396, in _get_order_and_authorizations
authzr = self.auth_handler.handle_authorizations(orderr, best_effort)
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 70, in handle_authorizations
resps = self.auth.perform(achalls)
File "/usr/lib/python3/dist-packages/certbot/plugins/standalone.py", line 156, in perform
return [self._try_perform_single(achall) for achall in achalls]
File "/usr/lib/python3/dist-packages/certbot/plugins/standalone.py", line 156, in <listcomp>
return [self._try_perform_single(achall) for achall in achalls]
File "/usr/lib/python3/dist-packages/certbot/plugins/standalone.py", line 163, in _try_perform_single
_handle_perform_error(error)
File "/usr/lib/python3/dist-packages/certbot/plugins/standalone.py", line 210, in _handle_perform_error
raise error
File "/usr/lib/python3/dist-packages/certbot/plugins/standalone.py", line 161, in _try_perform_single
return self._perform_single(achall)
File "/usr/lib/python3/dist-packages/certbot/plugins/standalone.py", line 166, in _perform_single
servers, response = self._perform_http_01(achall)
File "/usr/lib/python3/dist-packages/certbot/plugins/standalone.py", line 173, in _perform_http_01
servers = self.servers.run(port, challenges.HTTP01, listenaddr=addr)
File "/usr/lib/python3/dist-packages/certbot/plugins/standalone.py", line 73, in run
raise errors.StandaloneBindError(error, port)
certbot.errors.StandaloneBindError: Problem binding to port 80: Could not bind to IPv4 or IPv6.
2022-10-31 01:23:33,069:INFO:certbot.renewal:Cert not yet due for renewal
2022-10-31 01:23:33,070:DEBUG:certbot.plugins.selection:Requested authenticator standalone and installer None
2022-10-31 01:23:33,072:INFO:certbot.renewal:Cert not yet due for renewal
2022-10-31 01:23:33,072:DEBUG:certbot.plugins.selection:Requested authenticator standalone and installer None
2022-10-31 01:23:33,074:INFO:certbot.renewal:Cert not yet due for renewal
2022-10-31 01:23:33,075:DEBUG:certbot.plugins.selection:Requested authenticator standalone and installer None
2022-10-31 01:23:33,077:INFO:certbot.renewal:Cert not yet due for renewal
2022-10-31 01:23:33,077:DEBUG:certbot.plugins.selection:Requested authenticator webroot and installer None
2022-10-31 01:23:33,077:ERROR:certbot.renewal:All renewal attempts failed. The following certs could not be renewed:
2022-10-31 01:23:33,077:ERROR:certbot.renewal: /etc/letsencrypt/live/ccpracticum.com-0001/fullchain.pem (failure)
2022-10-31 01:23:33,077:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/bin/certbot", line 11, in <module>
load_entry_point('certbot==0.40.0', 'console_scripts', 'certbot')()
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1382, in main
return config.func(config, plugins)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1287, in renew
renewal.handle_renewal_request(config)
File "/usr/lib/python3/dist-packages/certbot/renewal.py", line 486, in handle_renewal_request
raise errors.Error("{0} renew failure(s), {1} parse failure(s)".format(
certbot.errors.Error: 1 renew failure(s), 0 parse failure(s)