Error in Renewing of 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. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: distanceed.cpu.edu.ph

I ran this command: certbot renew

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log


Processing /etc/letsencrypt/renewal/distanceed.cpu.edu.ph.conf


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 distanceed.cpu.edu.ph
Enabled Apache rewrite module
Waiting for verification…
Cleaning up challenges
Attempting to renew cert (distanceed.cpu.edu.ph) from /etc/letsencrypt/renewal/distanceed.cpu.edu.ph.conf produced an unexpected error: Failed authorization procedure. distanceed.cpu.edu.ph (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: During secondary validation: Fetching http://distanceed.cpu.edu.ph/.well-known/acme-challenge/drfFaClNGBXHFclbY0JFHDV3BvwCYJTuZbSxbaeu3TI: Timeout during connect (likely firewall problem). Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/distanceed.cpu.edu.ph/fullchain.pem (failure)


All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/distanceed.cpu.edu.ph/fullchain.pem (failure)


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

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: distanceed.cpu.edu.ph
    Type: connection
    Detail: During secondary validation: Fetching
    http://distanceed.cpu.edu.ph/.well-known/acme-challenge/drfFaClNGBXHFclbY0JFHDV3BvwCYJTuZbSxbaeu3TI:
    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):
Server version: Apache/2.4.29 (Ubuntu)
Server built: 2020-03-13T12:26:16

The operating system my web server runs on is (include version):
Ubuntu 18.04.4 LTS

My hosting provider, if applicable, is:
None

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

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):
certbot 0.26.1

1 Like

Hi @cpu-ucsc

checking your domain your setup is critical - see https://check-your-website.server-daten.de/?q=distanceed.cpu.edu.ph

You have two different ipv4 addresses:

Host Type IP-Address is auth. ∑ Queries ∑ Timeout
distanceed.cpu.edu.ph A 122.3.243.85 Marikina City/Metro Manila/Philippines (PH) - Philippine Long Distance Telephone Co. Hostname: 122.3.243.85.static.pldt.net yes 2 0
A 124.107.129.185 Quezon City/Metro Manila/Philippines (PH) - Philippine Long Distance Telephone Co. Hostname: 124.107.129.185.static.pldt.net yes 2 0
AAAA yes

But one works, the other has a timeout:

Domainname Http-Status redirect Sec. G
http://distanceed.cpu.edu.ph/ 122.3.243.85 303 https://distanceed.cpu.edu.ph Html is minified: 100,71 % 0.497 A
http://www.distanceed.cpu.edu.ph/ 122.3.243.85 303 https://distanceed.cpu.edu.ph Html is minified: 100,71 % 0.484 E
http://distanceed.cpu.edu.ph/ 124.107.129.185 -14 10.003 T
Timeout - The operation has timed out
http://www.distanceed.cpu.edu.ph/ 124.107.129.185 -14 10.000 T
Timeout - The operation has timed out

So if Letsencrypt tries to check your validation file and uses the wrong ip, a timeout happens.

Is that 124.107.129.185 really correct / active?

If not, remove that ip address, then try it again.

3 Likes

Thanks for the help. I requested my DNS provider to rectify the issue. My certificate has been renewed already.

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