I have (still) an Ubuntu 18.04 running and it seems that the certificate has expired yesterday. Somehow the renewal didn't succeed. (Apache 2.4)
I ran
certbot --dry-run renew
and got
Could not choose appropriate plugin: The requested apache plugin does not appear to be installed
What do I have to install to make this work? Or could I choose another method?
Here is some more info:
2023-09-22 13:31:11,069:DEBUG:certbot.log:Root logging level set at 20
2023-09-22 13:31:11,071:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2023-09-22 13:31:11,101:DEBUG:certbot.plugins.selection:Requested authenticator <certbot.cli._Default object at 0xb3e4df6c> and installer <certbot.cli._Default object at 0xb3e4df6c>
2023-09-22 13:31:11,101:DEBUG:certbot.cli:Var dry_run=True (set by user).
2023-09-22 13:31:11,101:DEBUG:certbot.cli:Var server={'dry_run', 'staging'} (set by user).
2023-09-22 13:31:11,101:DEBUG:certbot.cli:Var dry_run=True (set by user).
2023-09-22 13:31:11,101:DEBUG:certbot.cli:Var server={'dry_run', 'staging'} (set by user).
2023-09-22 13:31:11,101:DEBUG:certbot.cli:Var account={'server'} (set by user).
2023-09-22 13:31:11,118:DEBUG:certbot.storage:Should renew, less than 30 days before certificate expiry 2023-09-22 07:26:20 UTC.
2023-09-22 13:31:11,118:INFO:certbot.renewal:Cert is due for renewal, auto-renewing...
2023-09-22 13:31:11,118:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache
2023-09-22 13:31:11,118:DEBUG:certbot.plugins.selection:No candidate plugin
2023-09-22 13:31:11,118:DEBUG:certbot.plugins.selection:No candidate plugin
2023-09-22 13:31:11,119:DEBUG:certbot.plugins.selection:Selected authenticator None and installer None
2023-09-22 13:31:11,119:INFO:certbot.main:Could not choose appropriate plugin: The requested apache plugin does not appear to be installed
2023-09-22 13:31:11,120:WARNING:certbot.renewal:Attempting to renew cert (mydomain.de) from /etc/letsencrypt/renewal/werkwelt.de.conf produced an unexpected error: The requested apache plugin does not appear to be installed. Skipping.
2023-09-22 13:31:11,121:DEBUG:certbot.renewal:Traceback was:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/certbot/renewal.py", line 465, in handle_renewal_request
main.renew_cert(lineage_config, plugins, renewal_candidate)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1187, in renew_cert
installer, auth = plug_sel.choose_configurator_plugins(config, plugins, "certonly")
File "/usr/lib/python3/dist-packages/certbot/plugins/selection.py", line 237, in choose_configurator_plugins
diagnose_configurator_problem("authenticator", req_auth, plugins)
File "/usr/lib/python3/dist-packages/certbot/plugins/selection.py", line 341, in diagnose_configurator_problem
raise errors.PluginSelectionError(msg)
certbot.errors.PluginSelectionError: The requested apache plugin does not appear to be installed
2023-09-22 13:31:11,121:ERROR:certbot.renewal:All renewal attempts failed. The following certs could not be renewed:
2023-09-22 13:31:11,121:ERROR:certbot.renewal: /etc/letsencrypt/live/mydomain.de/fullchain.pem (failure)
2023-09-22 13:31:11,121:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/bin/certbot", line 11, in <module>
load_entry_point('certbot==0.31.0', 'console_scripts', 'certbot')()
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1365, in main
return config.func(config, plugins)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1272, in renew
renewal.handle_renewal_request(config)
File "/usr/lib/python3/dist-packages/certbot/renewal.py", line 490, in handle_renewal_request
len(renew_failures), len(parse_failures)))
certbot.errors.Error: 1 renew failure(s), 0 parse failure(s)