Setup domain fail

I tryed to setup a domain with lets encrypt apach
and i gote this error

2022-01-06 09:18:16,787:DEBUG:urllib3.connectionpool:http://localhost:None "GET /v2/connections?snap=certbot&interface=con>
2022-01-06 09:18:17,178:DEBUG:certbot._internal.main:certbot version: 1.22.0
2022-01-06 09:18:17,178:DEBUG:certbot._internal.main:Location of certbot entry point: /snap/certbot/1670/bin/certbot
2022-01-06 09:18:17,178:DEBUG:certbot._internal.main:Arguments: ['--apache', '--preconfigured-renewal']
2022-01-06 09:18:17,178:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEnt>
2022-01-06 09:18:17,192:DEBUG:certbot._internal.log:Root logging level set at 30
2022-01-06 09:18:17,193:DEBUG:certbot._internal.plugins.selection:Requested authenticator apache and installer apache
2022-01-06 09:18:17,269:DEBUG:certbot_apache._internal.configurator:Apache version is 2.4.41
2022-01-06 09:18:17,482:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * apache
Description: Apache Web Server plugin
Interfaces: Installer, Authenticator, Plugin
Entry point: apache = certbot_apache._internal.entrypoint:ENTRYPOINT
Initialized: <certbot_apache._internal.override_debian.DebianConfigurator object at 0x7f2684f48a60>
Prep: True
2022-01-06 09:18:17,482:DEBUG:certbot._internal.plugins.selection:Selected authenticator <certbot_apache._internal.overrid>
2022-01-06 09:18:17,482:INFO:certbot._internal.plugins.selection:Plugins selected: Authenticator apache, Installer apache
2022-01-06 09:18:17,489:DEBUG:certbot._internal.main:Picked account: <Account(RegistrationResource(body=Registration(key=N>
2022-01-06 09:18:17,490:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/directory.
2022-01-06 09:18:17,491:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org:443
2022-01-06 09:18:17,916:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "GET /directory HTTP/1.1" 20>
2022-01-06 09:18:17,917:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Thu, 06 Jan 2022 09:18:17 GMT
Content-Type: application/json
Content-Length: 658
Connection: keep-alive
Cache-Control: public, max-age=0, no-cache
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800

Where's the error? This is just the top of the log and I'm not seeing it.

4 Likes

Having to guess...
I'd say Apache is NOT configured as you would expect it to be.
You might start to unravel the mess with the output of:
apachectl -t -D DUMP_VHOSTS

2 Likes

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