Can not renew certificate


Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command: letsencrypt renew

It produced this output:

Processing /etc/letsencrypt/renewal/

Cert is due for renewal, auto-renewing…
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for
Waiting for verification…
Cleaning up challenges
Unable to clean up challenge directory /var/www/nextcloud/.well-known/acme-challenge
Attempting to renew cert from /etc/letsencrypt/renewal/ produced an unexpected error: Failed authorization procedure. (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from "

Die Seite wurde n". Skipping.

All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/ (failure)
1 renew failure(s), 0 parse failure(s)


My web server is (include version): Apache/2.4.25 with Nextcloud/13.0.4

The operating system my web server runs on is (include version):
Raspbian Stretch
My hosting provider, if applicable, is:

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, or provide the name and version of the control panel): no

I checked access.log and error.log. I can’t find any request to the webserver requesting the file. I tried to creat another file in the acme directory, which I’m able to access without any problems. I checked letsencrypt.log and the IP address which is resolved and used is correct.


If I go to your website, I’m getting a “Windows Home Server-Website”, powered by “Microsoft-IIS/6.0”, not some Nextcloud or Rasbian site.

Are you really really REALLY sure your IP address is correct? I’m resolving your FQDN to

On port 443, there is a Nextcloud server running, so the IP seems to be correct… But on port 80… No such Nextcloud server, but a Windows server.

Do you have port 80 and port 443 portmapped to different internal IP addresses by any chance? Or are you running two different webservers on the same host? Because your ACME challenge is being put in the Nextcloud webdir, so I’m assuming the IIS webserver doesn’t have any clue about that ACME challenge, but Let’s Encrypt is connecting to the IIS server, as it’s connecting to port 80.


Thanks, that was the fault. My FritzBox crashed some time ago and I had to replace it by a new one. And I think the config backup was to old which I used. The wrong port redirect did not come into my mind. Sorry for that…


No problem, we’re here to help :grin:

But the most important question remains: can you renew now? :wink:


Of course :grinning:
Once the port redirect was corrected, everything went well :wink:




This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.