Output: Failed authorization procedure. www.hotellistat.de (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to xxx.xxx.xxx.xxx:443 for TLS-SNI-01 challenge
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you’re using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
I think that's a big clue - you are providing http on port 443 not https
If your server is responding on port 443 it needs to be https. The easiest may be to add a self signed cert to your configuration as an interim measure - so that https works, then you can pass the challenges and obtain a cert.
Well, i do not understand exactly why it is necessary to install a self-signed certificate in advance… there is nothing stated in the docs about it. I have a clean apache running with standard config, never added/changed sth for ssl/https before, so why should i differ from standard installation?!
The curl request was only one example i read in some similar posts. My server is running on 80…
the only thing concerning 443 i can find are the following lines inside ports.conf
When i add a second VirtualHost Config for 443 additional to port 80, then certification attempt exits with “We are unable to find a vhost with a ServerName or Address of www.hotellistat.de” and i am asked to choose from some other conf-files, but the desired .conf is not there. As for this, i assumed, i do not have to change sth in my virtual hosts config.
I commented out the lines in ports.conf and restarted apache.
The file looks now like:
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf
Listen 144.76.17.99:80
#<IfModule ssl_module>
# Listen 443
#</IfModule>
#<IfModule mod_gnutls.c>
# Listen 443
#</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
The error is still remaining.
Are there some sorts of commands which i can check?