Yes, thanks!
2024-05-09 09:29:13,759:DEBUG:certbot._internal.storage:Writing new private key to /etc/letsencrypt/archive/xyz.duckdns.org/privkey6.pem.
2024-05-09 09:29:13,760:DEBUG:certbot._internal.storage:Writing certificate to /etc/letsencrypt/archive/xyz.duckdns.org/cert6.pem.
2024-05-09 09:29:13,760:DEBUG:certbot._internal.storage:Writing chain to /etc/letsencrypt/archive/xyz.duckdns.org/chain6.pem.
2024-05-09 09:29:13,761:DEBUG:certbot._internal.storage:Writing full chain to /etc/letsencrypt/archive/xyz.duckdns.org/fullchain6.pem.
2024-05-09 09:29:13,777:DEBUG:certbot.configuration:Var account=xyz (set by user).
2024-05-09 09:29:13,778:DEBUG:certbot.configuration:Var rsa_key_size=2048 (set by user).
2024-05-09 09:29:13,779:DEBUG:certbot._internal.plugins.selection:Requested authenticator nginx and installer nginx
2024-05-09 09:29:13,779:DEBUG:certbot._internal.plugins.selection:Requested authenticator nginx and installer nginx
2024-05-09 09:29:13,781:DEBUG:certbot._internal.storage:Writing new config /etc/letsencrypt/renewal/xyz.duckdns.org.conf.new.
2024-05-09 09:29:13,790:DEBUG:certbot._internal.display.obj:Notifying user:
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/xyz.duckdns.org/fullchain.pem
Key is saved at: /etc/letsencrypt/live/xyz.duckdns.org/privkey.pem
This certificate expires on 2024-08-07.
These files will be updated when the certificate renews.
Certbot has set up a scheduled task to automatically renew this certificate in the background.
2024-05-09 09:29:13,791:DEBUG:certbot._internal.display.obj:Notifying user: Deploying certificate
2024-05-09 09:29:13,827:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/certbot/_internal/client.py", line 657, in deploy_certificate
self.installer.deploy_cert(
File "/usr/lib/python3/dist-packages/certbot_nginx/_internal/configurator.py", line 240, in deploy_cert
vhosts = self.choose_vhosts(domain, create_if_no_match=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/certbot_nginx/_internal/configurator.py", line 364, in choose_vhosts
self._make_server_ssl(vhost)
File "/usr/lib/python3/dist-packages/certbot_nginx/_internal/configurator.py", line 747, in _make_server_ssl
snakeoil_cert, snakeoil_key = self._get_snakeoil_paths()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/certbot_nginx/_internal/configurator.py", line 693, in _get_snakeoil_paths
le_key = crypto_util.generate_key(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/certbot/crypto_util.py", line 81, in generate_key
key_pem = make_key(
^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/certbot/crypto_util.py", line 225, in make_key
raise errors.Error("Unsupported RSA key length: {}".format(bits))
certbot.errors.Error: Unsupported RSA key length: 1024
2024-05-09 09:29:13,828:DEBUG:certbot._internal.error_handler:Calling registered functions
2024-05-09 09:29:14,424:DEBUG:certbot._internal.display.obj:Notifying user: Could not install certificate
2024-05-09 09:29:14,425:DEBUG:certbot._internal.display.obj:Notifying user: NEXT STEPS:
2024-05-09 09:29:14,426:DEBUG:certbot._internal.display.obj:Notifying user: - The certificate was saved, but could not be installed (installer: nginx). After fixing the error shown below, try installing it again by running:
certbot install --cert-name xyz.duckdns.org
2024-05-09 09:29:14,427:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.11/dist-packages/certbot/main.py", line 19, in main
return internal_main.main(cli_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/certbot/_internal/main.py", line 1894, in main
return config.func(config, plugins)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/certbot/_internal/main.py", line 1480, in run
raise installer_err
File "/usr/local/lib/python3.11/dist-packages/certbot/_internal/main.py", line 1464, in run
_install_cert(config, le_client, domains, new_lineage)
File "/usr/local/lib/python3.11/dist-packages/certbot/_internal/main.py", line 1058, in _install_cert
le_client.deploy_certificate(domains, path_provider.key_path, path_provider.cert_path,
File "/usr/local/lib/python3.11/dist-packages/certbot/_internal/client.py", line 657, in deploy_certificate
self.installer.deploy_cert(
File "/usr/lib/python3/dist-packages/certbot_nginx/_internal/configurator.py", line 240, in deploy_cert
vhosts = self.choose_vhosts(domain, create_if_no_match=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/certbot_nginx/_internal/configurator.py", line 364, in choose_vhosts
self._make_server_ssl(vhost)
File "/usr/lib/python3/dist-packages/certbot_nginx/_internal/configurator.py", line 747, in _make_server_ssl
snakeoil_cert, snakeoil_key = self._get_snakeoil_paths()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/certbot_nginx/_internal/configurator.py", line 693, in _get_snakeoil_paths
le_key = crypto_util.generate_key(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/certbot/crypto_util.py", line 81, in generate_key
key_pem = make_key(
^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/certbot/crypto_util.py", line 225, in make_key
raise errors.Error("Unsupported RSA key length: {}".format(bits))
certbot.errors.Error: Unsupported RSA key length: 1024
2024-05-09 09:29:14,434:ERROR:certbot._internal.log:Unsupported RSA key length: 1024