I need help to configurate my Nextcloud. I did everything correct, but i can't get a certificate. Can someone please help?The Firewall is also active and it Runs on the newest Debian version: Debian 11.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for feloabi.cloud
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
The Let's Encrypt validation server can't reach your server on port 80 (IPv4). Neither can I.
Did you configure it properly?
Also note that your IPv6 address currently in the AAAA RR for your domain name is fe80::6a1d:efff:fe1c:2164, which is part of the "Link-Local Unicast" fe80::/10 range which is NOT a global reachable IPv6 address on the public internet. It's only used for hosts which are directly connected to each other (link-local).
I opened the firewall and everything. I opened a Port in my router for HTTPS but for Port HTTP it wont work, because i is blocked by localhost. Is that right?
And how can i activate the port 80. Because in my router I said that in the inside it is Port 80 but on the outside I have another Port open because of the Botnet.
What did you open and what does "everything" mean? That's kinda vague..
Opening just port 443 for HTTPS does not help for the http-01 challenge which is currently used. This challenge will always start on HTTP port 80.
How is localhost blocking port 80?
I don't know what this means. "the Botnet"? Usually if one speaks about botnets, it's in the context of hacked computers being used to do malicious things on the internet. But I don't think you meant that, right?
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
No, not really. That is not an Apache server responding on port 80 (HTTP). Something is replying with a 401 Unauthorized error to the HTTP Challenge from the Let's Encrypt server. Looks like maybe a router interface or some other firewall device (based on other tests I ran).
If Certbot gets a cert successfully using the --apache option it will create an HTTPS VirtualHost for you. But, then you must also ensure port 443 is open and working. The above Certbot request failed so you still need to sort that out.
and when I'm in my local network, I tried to access my cloud with https://feloabi.cloud, but it led me to the site feloabi.cloud/error.html and the http error is 401.
The "access" log won't fix anything. It is just a tool to see the requests Apache is processing. I wanted you to see that so you knew Apache wasn't seeing requests.
Setting up and managing a new server isn't this forum's focus. You should visit a general Apache forum, or a NextCloud forum, for help with that.