Cant create new ssl certificates or renew old ones

Im running ubuntu 20.04 with ispconfig 3.2.4

I am unable to create new ssl certificates or renew old-ones.

I will paste /var/log/letsencrypt.log

Please choose an account
Choices: ['s1.cybertips.info@2021-04-19T21:26:17Z (af70)', 'fox.cybertips.info@2021-02-25T08:36:07Z (ba9d)']
2021-05-07 08:49:34,165:DEBUG:certbot.main:certbot version: 0.40.0
2021-05-07 08:49:34,166:DEBUG:certbot.main:Arguments: ['--domains', 'cybertips.info', '--domains', 'www.cybertips.info']
2021-05-07 08:49:34,166:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2021-05-07 08:49:34,170:DEBUG:certbot.log:Root logging level set at 20
2021-05-07 08:49:34,170:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2021-05-07 08:49:34,183:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): r3.o.lencr.org:80
2021-05-07 08:49:34,188:DEBUG:urllib3.connectionpool:http://r3.o.lencr.org:80 "POST / HTTP/1.1" 200 503
2021-05-07 08:49:34,188:DEBUG:certbot.ocsp:OCSP response for certificate /etc/letsencrypt/live/cybertips.info/cert.pem is signed by the certificate's issuer.
2021-05-07 08:49:34,190:DEBUG:certbot.ocsp:OCSP certificate status for /etc/letsencrypt/live/cybertips.info/cert.pem is: OCSPCertStatus.GOOD
2021-05-07 08:50:26,066:DEBUG:certbot.main:certbot version: 0.40.0
2021-05-07 08:50:26,066:DEBUG:certbot.main:Arguments: ['-n', '--text', '--agree-tos', '--cert-name', 'majanduspartner.ee', '--authenticator', 'webroot', '--server', 'https://acme-v02.api.letsencrypt.org/directory', '--rsa-key-size', '4096', '--email', 'webmaster@majanduspartner.ee', '--webroot-map', '{"majanduspartner.ee":"\/usr\/local\/ispconfig\/interface\/acme","www.majanduspartner.ee":"\/usr\/local\/ispconfig\/interface\/acme"}']
2021-05-07 08:50:26,066:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2021-05-07 08:50:26,071:DEBUG:certbot.log:Root logging level set at 20
2021-05-07 08:50:26,071:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2021-05-07 08:50:26,071:DEBUG:certbot.plugins.selection:Requested authenticator webroot and installer None
2021-05-07 08:50:26,071:DEBUG:certbot.plugins.selection:Single candidate plugin: * webroot
Description: Place files in webroot directory
Interfaces: IAuthenticator, IPlugin
Entry point: webroot = certbot.plugins.webroot:Authenticator
Initialized: <certbot.plugins.webroot.Authenticator object at 0x7f8e904f6b20>
Prep: True
2021-05-07 08:50:26,071:DEBUG:certbot.plugins.selection:Selected authenticator <certbot.plugins.webroot.Authenticator object at 0x7f8e904f6b20> and installer None
2021-05-07 08:50:26,071:INFO:certbot.plugins.selection:Plugins selected: Authenticator webroot, Installer None
2021-05-07 08:50:26,076:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File "/bin/letsencrypt", line 11, in
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 1249, in certonly
le_client = _init_le_client(config, auth, installer)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 607, in _init_le_client
acc, acme = _determine_account(config)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 515, in _determine_account
acc = display_ops.choose_account(accounts)
File "/usr/lib/python3/dist-packages/certbot/display/ops.py", line 84, in choose_account
code, index = z_util(interfaces.IDisplay).menu(
File "/usr/lib/python3/dist-packages/certbot/display/util.py", line 503, in menu
self._interaction_fail(message, cli_flag, "Choices: " + repr(choices))
File "/usr/lib/python3/dist-packages/certbot/display/util.py", line 466, in _interaction_fail
raise errors.MissingCommandlineFlag(msg)
certbot.errors.MissingCommandlineFlag: Missing command line flag or config entry for this setting:
Please choose an account
Choices: ['s1.cybertips.info@2021-04-19T21:26:17Z (af70)', 'fox.cybertips.info@2021-02-25T08:36:07Z (ba9d)']
2021-05-07 08:50:26,265:DEBUG:certbot.main:certbot version: 0.40.0
2021-05-07 08:50:26,266:DEBUG:certbot.main:Arguments: ['--domains', 'majanduspartner.ee', '--domains', 'www.majanduspartner.ee']
2021-05-07 08:50:26,266:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2021-05-07 08:50:26,270:DEBUG:certbot.log:Root logging level set at 20
2021-05-07 08:50:26,270:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2021-05-07 08:50:26,281:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): r3.o.lencr.org:80
2021-05-07 08:50:26,285:DEBUG:urllib3.connectionpool:http://r3.o.lencr.org:80 "POST / HTTP/1.1" 200 503
2021-05-07 08:50:26,286:DEBUG:certbot.ocsp:OCSP response for certificate /etc/letsencrypt/live/majanduspartner.ee/cert.pem is signed by the certificate's issuer.
2021-05-07 08:50:26,287:DEBUG:certbot.ocsp:OCSP certificate status for /etc/letsencrypt/live/majanduspartner.ee/cert.pem is: OCSPCertStatus.GOOD

1 Like

Hi @taavit21, and welcome to the LE community forum :slight_smile:

Sounds like there may be a python issue going on.

Is there any way you can upgrade certbot to latest snap version?

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.