Help. As a small project (since we are all currently social distancing) I decided to set up a simple home cloud server using NextCloud on a RPi 3.
I initially installed NextCloudPi and everything worked correctly from within my network so I enabled the automatic Lets Encrypt client to work with my existing DDNS domain - Fail (as shown below).
After much head-scratching and googling I decided to work from first principles, so I made a clean Raspbian Lite installation (with a static IP) followed by Apache, PHP, and certbot. I haven’t changed any system settings.
Then I tried to create a certificate and - Fail - with the same error as before.
After much more googling I thought this must be a permissions issue so I manually created .well-known and acme-challenge directories and put a test file in acme-challenge.
This works fine - I can read the test file from the internet via my mobile phone browser.
My router port-forwarding seems to be ok.
In desperation I started changing permissions to 777 - but that was getting me nowhere. I still constantly get this same 403 error.
I am thinking of setting fire to this, so I would be very grateful for any insight into what must be a simple but fundamental error.
My domain is: p10.us.to
I ran this command: sudo certbot --apache
and: sudo letsencrypt certonly -a webroot --webroot-path=/var/www/html -d p10.us.to
and several others.
It produced this output:
Detail: Invalid response from
Not FoundThe requested URL
was not found on thi”
My web server is (include version): Apache/2.4.38 (Raspbian)
The operating system my web server runs on is (include version): Raspbian Lite (Buster)
I can login to a root shell on my machine (yes or no, or I don’t know): Yes
I’m using a control panel to manage my site: No
The version of my client is: certbot 0.31.0