Hi all,
I've just set-up my new server under a Raspberry PI 4 and Ubuntu 10.04 and I get this error when I try and activate SSL for a domain under the I-MSCP control panel. Any ideas? Can I add the letsencrypt certificates manually? Or do I need to use the plugin?
- An unexpected error occurred:
- Modules::Plugin::_executePluginAction: Root logging level set at 10
- Saving debug log to /var/log/letsencrypt/letsencrypt.log
- Requested authenticator apache and installer apache
- Apache version is 2.4.29
- Single candidate plugin: * apache
- Description: Apache Web Server plugin
- Interfaces: IAuthenticator, IInstaller, IPlugin
- Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT
- Initialized: Prep: True
- Single candidate plugin: * apache
- Description: Apache Web Server plugin
- Interfaces: IAuthenticator, IInstaller, IPlugin
- Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT
- Initialized: Prep: True
- Selected authenticator and installer Plugins selected: Authenticator apache, Installer apache
- Exiting abnormally:
- Traceback (most recent call last): File "/opt/eff.org/certbot/venv/bin/letsencrypt", line 11, in sys.exit(main()) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 1378, in main return config.func(config, plugins) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 1249, in certonly le_client = _init_le_client(config, auth, installer) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 607, in _init_le_client acc, acme = _determine_account(config) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 520, in _determine_account config.email = display_ops.get_email() File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/display/ops.py", line 56, in get_email raise errors.MissingCommandlineFlag(msg)
- MissingCommandlineFlag: You should register before running non-interactively, or provide --agree-tos and --email flags.
- You should register before running non-interactively, or provide --agree-tos and --email flags. at /var/www/imscp/gui/plugins/SGW_LetsEncrypt/backend/SGW_LetsEncrypt.pm line 373.
The log show this error:
019-10-23 09:37:17,277:DEBUG:certbot.main:certbot version: 0.39.0
2019-10-23 09:37:17,279:DEBUG:certbot.main:Arguments: ['--apache', '--no-bootstrap', '--non-interactive', '-v', '-d', 'sosaria.robcraig.com', '--expand', '-d', 'www.sosaria.robcraig.com']
2019-10-23 09:37:17,279:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2019-10-23 09:37:17,320:DEBUG:certbot.log:Root logging level set at 10
2019-10-23 09:37:17,321:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2019-10-23 09:37:17,323:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache
2019-10-23 09:37:17,521:DEBUG:certbot_apache.configurator:Apache version is 2.4.29
2019-10-23 09:37:18,749:DEBUG:certbot.plugins.selection:Single candidate plugin: * apache
Description: Apache Web Server plugin
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT
Initialized: <certbot_apache.override_debian.DebianConfigurator object at 0x7f92deff50>
Prep: True
2019-10-23 09:37:18,753:DEBUG:certbot.plugins.selection:Single candidate plugin: * apache
Description: Apache Web Server plugin
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT
Initialized: <certbot_apache.override_debian.DebianConfigurator object at 0x7f92deff50>
Prep: True
2019-10-23 09:37:18,753:DEBUG:certbot.plugins.selection:Selected authenticator <certbot_apache.override_debian.DebianConfigurator object at 0x7f92deff50> and installer <certbot_apache.override_debian.DebianConfigurator object at 0x7f92deff50>
2019-10-23 09:37:18,754:INFO:certbot.plugins.selection:Plugins selected: Authenticator apache, Installer apache
2019-10-23 09:37:18,755:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File "/opt/eff.org/certbot/venv/bin/letsencrypt", line 11, in <module>
sys.exit(main())
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 1378, in main
return config.func(config, plugins)
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 1249, in certonly
le_client = _init_le_client(config, auth, installer)
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 607, in _init_le_client
acc, acme = _determine_account(config)
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 520, in _determine_account
config.email = display_ops.get_email()
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/display/ops.py", line 56, in get_email
raise errors.MissingCommandlineFlag(msg)
MissingCommandlineFlag: You should register before running non-interactively, or provide --agree-tos and --email <email_address> flags.