Issue getting Nextcloud AIO working with a local `.home.arpa` domain

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • Nextcloud AIO v11.10.0
  • Operating system and version (e.g., Ubuntu 24.04):
    • OpenMediaVault 7.7.17 (Debian based)
  • Web server and version (e.g, Apache 2.4.25):
    • I didn't change anything, so likely a default one
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • Caddy v2.10.2
  • PHP version (e.g, 8.3):
    • Also a default one
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • After properly configuring my Pi-Hole and Caddy
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

I have been following all the points at all-in-one/local-instance.md at main · nextcloud/all-in-one · GitHub , with configuring my .home.arpa domain on my Pi-Hole, setting up Caddy according to the instructions and configuring a Pi-Hole DNS in my Docker installation in order to make a local Nextcloud install.

I have an SSL issue that makes it impossible to configure Nextcloud to work with my private domain.

Steps to replicate it (hint: details matter!):

  1. Configure a .home.arpa domain on a Pi-Hole and Caddy reverse proxy according to documentation at all-in-one/local-instance.md at main · nextcloud/all-in-one · GitHub

  2. Deploy a Nextcloud AIO container in Docker

  3. When trying to validate a .home.arpa domain, an error appears:

Domain does not point to this server or the reverse proxy is not configured correctly. See the mastercontainer logs for more details. (‘sudo docker logs -f nextcloud-aio-mastercontainer')
  1. Display an error message using the sudo docker logs -f nextcloud-aio-mastercontainer command.

Log entries

sudo docker logs -f nextcloud-aio-mastercontainer

NOTICE: PHP message: Info: It seems like the ip-address of nextcloud.home.arpa is set to an internal or reserved ip-address. (It was found to be set to '192.168.92.2')
NOTICE: PHP message: The response of the connection attempt to "https://nextcloud.home.arpa:443" was:
NOTICE: PHP message: Expected was: <some_hash>
NOTICE: PHP message: The error message was: SSL certificate problem: unable to get local issuer certificate
NOTICE: PHP message: Please follow https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md#how-to-debug in order to debug things!