i have a problem with the renewal for the letsencrypt certificate for my nextcloud which is running on my raspberry pi.
If i try to renew the certificate (“sudo certbot renew”) the following error appears:
Attempting to renew cert (powercloud.spdns.de) from /etc/letsencrypt/renewal/powercloud.spdns.de.conf produced an unexpected error: Failed authorization procedure. powercloud.spdns.de (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from https://powercloud.spdns.de/.well-known/acme-challenge/ft6thPshxbn7nuxNECz2fmPSUpGtBKGNF3DmQAJFWME [22.214.171.124]: “\r\n403 Forbidden\r\n<body bgcolor=“white”>\r\n
Detail: Invalid response from
My guess is, that it is some kind of permission error, the certbot can’t reach the well-known directory to verify my server. I already created the test file in /var/www/html/.well-known/acme-challenge and if i try to reach it via https://powercloud.spdns.de/.well-known/acme-challenge/1234 a 403 forbidden error occurs.
I’m not really deep into the topic and would appreaciate any help to set the right permissions.