Can't renew ssl on Raspberry pi 4 with nextcloud

Hi I managed to get a nextcloud up and running and I used let’s encrypt ssl. Everything works but for some reason (i’m absolutely a novice) when I try to renew my certificate I get this:
udo certbot renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log

Processing /etc/letsencrypt/renewal/

Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator apache, Installer apache
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for
Waiting for verification…
Cleaning up challenges
Attempting to renew cert ( from /etc/letsencrypt/renewal/ produced an unexpected error: Failed authorization procedure. (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching Timeout during connect (likely firewall problem). Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/ (failure)

All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/ (failure)

1 renew failure(s), 0 parse failure(s)


  • The following errors were reported by the server:

    Type: connection
    Detail: Fetching
    Timeout during connect (likely firewall problem)

    To fix these errors, please make sure that your domain name was
    entered correctly and the DNS A/AAAA record(s) for that domain
    contain(s) the right IP address. Additionally, please check that
    your computer has a publicly routable IP address and that no
    firewalls are preventing the server from communicating with the
    client. If you’re using the webroot plugin, you should also verify
    that you are serving files from the webroot path you provided.

Can anybody guide to a solution?
I don’t know if this has anything to do with the problem, but when I insalled nextcloud, the guide I followed made me reroute all http traffic to https…


1 Like

Hi @RIchard3


is no answer. A working port 80 is required.


Thanks, but how do i manager to make it work on a port 80?

You had a working port 80.

So you have created bugs. Undo these or use your backup to restore your working configuration.

1 Like

Thank you very very much!!! You made me realize that I had deleted port 80 forwarding on the router!! I reapplied the rule and certbot renewed my certificate! Thanks again


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