Ispconfig 3.1.13p1 проблема создания нового сертификата Let's encrypt. Несколько учетных записей - PullRequest
1 голос
/ 28 мая 2020

У меня есть сервер Ubuntu 16.04 с ISPConfig 3.1.13p1. Недавно я создал новый веб-сайт и как обычно проверил «Let's Encrypt» и «SSL». Однако через несколько минут настройка была удалена. Я предположил, что возникла проблема при создании сертификата. DNS домена в порядке, но я нашел эти журналы:

2020-05-28 18:25:02,145:DEBUG:certbot.main:Arguments: ['-n', '--text', '--agree-tos', '--expand', '--authenticator', 'webroot', '--server', 'https://acme-v02.api.letsencrypt.org/directory', '--rsa-key-size', '4096', '--email', 'postmaster@mydomain.it', '--domains', 'mydomain.it', '--domains', 'www.mydomain.it', '--webroot-path', '/usr/local/ispconfig/interface/acme']
2020-05-28 18:25:02,145:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2020-05-28 18:25:02,154:DEBUG:certbot.log:Root logging level set at 20
2020-05-28 18:25:02,155:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2020-05-28 18:25:02,156:DEBUG:certbot.plugins.selection:Requested authenticator webroot and installer None
2020-05-28 18:25:02,156: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 0x7f97a49f0400>
Prep: True
2020-05-28 18:25:02,157:DEBUG:certbot.plugins.selection:Selected authenticator <certbot.plugins.webroot.Authenticator object at 0x7f97a49f0400> and installer None
2020-05-28 18:25:02,157:INFO:certbot.plugins.selection:Plugins selected: Authenticator webroot, Installer None
2020-05-28 18:25:02,201:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
  File "/usr/bin/letsencrypt", 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 1234, in certonly
    le_client = _init_le_client(config, auth, installer)
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 605, in _init_le_client
    acc, acme = _determine_account(config)
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 513, in _determine_account
    acc = display_ops.choose_account(accounts)
  File "/usr/lib/python3/dist-packages/certbot/display/ops.py", line 86, in choose_account
    "Please choose an account", labels, force_interactive=True)
  File "/usr/lib/python3/dist-packages/certbot/display/util.py", line 507, in menu
    self._interaction_fail(message, cli_flag, "Choices: " + repr(choices))
  File "/usr/lib/python3/dist-packages/certbot/display/util.py", line 469, 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: ['web1.localdomain@2019-04-04T14:30:30Z (7c2a)', 'my.server.com@2017-03-05T02:16:08Z (f1b3)']

В поисках аналогичной ошибки я нашел этот пост : Я могу подтвердить наличие 2 каталогов в / etc / letsencrypt : acme-v01.api.letsencrypt.org и acme-v02.api.letsencrypt.org

Как я могу исправить сценарий, используемый ISPConfig для получения сертификата для этого нового домена?

...