Launching letsencrypt
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Obtaining a new certificate
Performing the following challenges:
tls-sni-01 challenge for darkphoenix.ddnss.de
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. darkphoenix.ddnss.de (tls-sni-01): urn:acme:error:malformed :: The request message was malformed :: no working IP addresses found for “darkphoenix.ddnss.de”
To fix these errors, please make sure that you did not provide any
invalid information to the client, and try running Certbot again.
Done. Press any key…
I think that the Problem has something to do with IPv6 / IPv4 routing, because It’s a clean install of nextcloudpi, but the hole IPv6/IPv4 configuration is a bit messed up. There is no IPv4 portforwarding and running ifconfig prints multiple global IPv6 addresses, but only one of them is the correct one.
Is it possible that, with the default nextcloudpi configurations, letsencrypt does not work without IPv4?
I’m using the nextcloudpi image and ran “sudo nextcloudpi-config” -> “letsencrypt” -> “yes” -> “darkphoenix.ddnss.de” ->“start”. I honestly have no idea which command nextcloudpi-config is using, but I could try to look it up in the source code.
UPDATE: IT WORKS!
The problem was that I enabled IPv6 portforwading at port 80 , but not 443. I enabled both port 80 and port 443 and now everything works fine.
Thank you for your help