Hi, thanks for your answer. I leave here the log just after run the command certbot.
2018-07-26 23:58:35,337:DEBUG:certbot.main:certbot version: 0.25.0
2018-07-26 23:58:35,338:DEBUG:certbot.main:Arguments: [’–apache’, ‘-d’, ‘belotecno.com’, ‘-d’, ‘www.belotecno.com’]
2018-07-26 23:58:35,338:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2018-07-26 23:58:35,346:DEBUG:certbot.log:Root logging level set at 20
2018-07-26 23:58:35,346:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2018-07-26 23:58:35,347:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache
2018-07-26 23:58:35,899:DEBUG:certbot_apache.configurator:Apache version is 2.4.7
2018-07-27 00:01:04,153:ERROR:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File “/usr/bin/certbot”, line 11, in
load_entry_point(‘certbot==0.25.0’, ‘console_scripts’, ‘certbot’)()
File “/usr/lib/python3/dist-packages/certbot/main.py”, line 1323, in main
return config.func(config, plugins)
File “/usr/lib/python3/dist-packages/certbot/main.py”, line 1073, in run
installer, authenticator = plug_sel.choose_configurator_plugins(config, plugins, “run”)
File “/usr/lib/python3/dist-packages/certbot/plugins/selection.py”, line 195, in choose_configurator_plugins
authenticator = installer = pick_configurator(config, req_inst, plugins)
File “/usr/lib/python3/dist-packages/certbot/plugins/selection.py”, line 25, in pick_configurator
(interfaces.IAuthenticator, interfaces.IInstaller))
File “/usr/lib/python3/dist-packages/certbot/plugins/selection.py”, line 77, in pick_plugin
verified.prepare()
File “/usr/lib/python3/dist-packages/certbot/plugins/disco.py”, line 246, in prepare
return [plugin_ep.prepare() for plugin_ep in six.itervalues(self._plugins)]
File “/usr/lib/python3/dist-packages/certbot/plugins/disco.py”, line 246, in
return [plugin_ep.prepare() for plugin_ep in six.itervalues(self._plugins)]
File “/usr/lib/python3/dist-packages/certbot/plugins/disco.py”, line 127, in prepare
self._initialized.prepare()
File “/usr/lib/python3/dist-packages/certbot_apache/configurator.py”, line 237, in prepare
self.vhosts = self.get_virtual_hosts()
File “/usr/lib/python3/dist-packages/certbot_apache/configurator.py”, line 817, in get_virtual_hosts
new_vhost = self._create_vhost(path)
File “/usr/lib/python3/dist-packages/certbot_apache/configurator.py”, line 793, in _create_vhost
self._add_servernames(vhost)
File “/usr/lib/python3/dist-packages/certbot_apache/configurator.py”, line 743, in _add_servernames
servername, serveraliases = self._get_vhost_names(host.path)
File “/usr/lib/python3/dist-packages/certbot_apache/configurator.py”, line 719, in _get_vhost_names
“ServerName”, None, start=path, exclude=False)
File “/usr/lib/python3/dist-packages/certbot_apache/parser.py”, line 422, in find_dir
exclude))
File “/usr/lib/python3/dist-packages/certbot_apache/parser.py”, line 402, in find_dir
“%s//*[self::directive=~regexp(’%s’)]” % (start, regex))
File “/usr/lib/python3/dist-packages/augeas.py”, line 413, in match
ctypes.byref(array))
KeyboardInterrupt