How to renew certificate after ip of my server was changed

Recently my internet provider was change my fixed public ip, they told me that was a fail in his systems…

Now i cannot renew my certificate because as i can see in seems that the certificates have my old ip, and the let’s encrypt server try to call my domain using the old ip.

How can i solve this behaviour and update the old ip with the new one, and renew my certificate?

Many thanks,

My domain is:

I ran this command:
certbot renew
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log

Processing /etc/letsencrypt/renewal/

Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator webroot, Installer None
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.

Processing /etc/letsencrypt/renewal/

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

The following certs are not due for renewal yet:
/etc/letsencrypt/live/ expires on 2020-01-29 (skipped)
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
    My web server is (include version):
    Apache 2.4
    The operating system my web server runs on is (include version):
    Ubuntu 18.04 LTS
    My hosting provider, if applicable, is:
    I can login to a root shell on my machine (yes or no, or I don’t know):
    I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
    The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): 0.31.0

1 Like

Hi @galopete

there are two different ip addresses:

Host T IP-Address is auth. ∑ Queries ∑ Timeout A Crevillent/Valencia/Spain (ES) - Uni2 1 Hostname: yes 1 0
AAAA yes A Javea/Valencia/Spain (ES) - Uni2 1 Hostname: yes 1 0
AAAA yes

May be one is old, one is new. Or both are old.

Change all old, so only the new ip address is used. is your name server, perhaps you should have a menu to change your A entries.


Many thanks, Juergen!.

Finally i was found the way to change the old ip in my domain name server panel.

Now my cert is renewed.

Have a nice day!.


Yep, that's required if your ISP changes the ip. Happy to read you have found a solution :+1:

1 Like

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