Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: robert-chalmers.uk
I ran this command: sudo /usr/local/bin/certbot --apache -v renew
It produced this output:
Processing /etc/letsencrypt/renewal/robert-chalmers.uk.conf
Certificate is due for renewal, auto-renewing...
Failed to renew certificate robert-chalmers.uk with error: The apache plugin is not working; there may be problems with your existing configuration.
The error was: PluginError('There has been an error in parsing the file /usr/local/etc/httpd/httpd.conf on line 215: Syntax error')
All renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/robert-chalmers.uk/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
My web server is (include version): Apache (latest)
The operating system my web server runs on is (include version): MacOS M2 Silicone
My hosting provider, if applicable, is:
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. Complete access locally
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot 2.11.0
The logfile shows,
2024-07-04 15:42:34,529:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 8, in
sys.exit(main())
^^^^^^
File "/usr/local/Cellar/certbot/2.11.0_1/libexec/lib/python3.12/site-packages/certbot/main.py", line 19, in main
return internal_main.main(cli_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/certbot/2.11.0_1/libexec/lib/python3.12/site-packages/certbot/_internal/main.py", line 1894, in main
return config.func(config, plugins)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/certbot/2.11.0_1/libexec/lib/python3.12/site-packages/certbot/_internal/main.py", line 1642, in renew
renewed_domains, failed_domains = renewal.handle_renewal_request(config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/certbot/2.11.0_1/libexec/lib/python3.12/site-packages/certbot/_internal/renewal.py", line 568, in handle_renewal_request
raise errors.Error(
certbot.errors.Error: 1 renew failure(s), 0 parse failure(s)
2024-07-04 15:42:34,530:ERROR:certbot._internal.log:1 renew failure(s), 0 parse failure(s)