Unable to 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. 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: amarone.kyriacou.eu
I ran this command: certbot certonly --standalone --http-01-port 80 --dry-run -d amarone.kyriacou.eu --debug
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Starting new HTTPS connection (1): acme-staging-v02.api.letsencrypt.org
Cert is due for renewal, auto-renewing…
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for amarone.kyriacou.eu
Waiting for verification…
Challenge failed for domain amarone.kyriacou.eu
http-01 challenge for amarone.kyriacou.eu
Cleaning up challenges
Exiting abnormally:
Traceback (most recent call last):
File “/bin/certbot”, line 9, in
load_entry_point(‘certbot==0.35.1’, ‘console_scripts’, ‘certbot’)()
File “/usr/lib/python2.7/site-packages/certbot/main.py”, line 1379, in main
return config.func(config, plugins)
File “/usr/lib/python2.7/site-packages/certbot/main.py”, line 1262, in certonly
lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
File “/usr/lib/python2.7/site-packages/certbot/main.py”, line 115, in _get_and_save_cert
renewal.renew_cert(config, domains, le_client, lineage)
File “/usr/lib/python2.7/site-packages/certbot/renewal.py”, line 307, in renew_cert
new_cert, new_chain, new_key, _ = le_client.obtain_certificate(domains, new_key)
File “/usr/lib/python2.7/site-packages/certbot/client.py”, line 349, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
File “/usr/lib/python2.7/site-packages/certbot/client.py”, line 385, in _get_order_and_authorizations
authzr = self.auth_handler.handle_authorizations(orderr, best_effort)
File “/usr/lib/python2.7/site-packages/certbot/auth_handler.py”, line 90, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, best_effort)
File “/usr/lib/python2.7/site-packages/certbot/auth_handler.py”, line 154, in _poll_authorizations
raise errors.AuthorizationError(‘Some challenges have failed.’)
AuthorizationError: Some challenges have failed.
Please see the logfiles in /var/log/letsencrypt for more details.

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: amarone.kyriacou.eu
    Type: connection
    Detail: Fetching
    http://amarone.kyriacou.eu/.well-known/acme-challenge/omqRLjA5V77NlA5nzfWg3QFd6Js1wUyUS75tr5z2j-o:
    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 (defaults to a dokuwiki page)

The operating system my web server runs on is (include version): CentOS Linux release 7.6.1810

My hosting provider, if applicable, is: N/A

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.35.1

Additional Information:
I was able to renew my cert, but a problem seems to have creeped in and I’m now stymied

Before issueing command:

systemctl stop httpd

netstat -ltnp | grep -w ‘:80’

and nothing listening

While certbot is on “Waiting for verification…” I can telnet to port 80 on my server. from the internet Also:

netstat -ltnp | grep -w ‘:80’

tcp6 0 0 :::80 :::* LISTEN 3476/python2

Hi @George

your https works, your http doesn't answer ( https://check-your-website.server-daten.de/?q=amarone.kyriacou.eu ):

Domainname Http-Status redirect Sec. G
http://amarone.kyriacou.eu/
217.155.192.145 -14 10.046 T
Timeout - The operation has timed out
http://www.amarone.kyriacou.eu/
217.155.192.145 -14 10.026 T
Timeout - The operation has timed out
https://amarone.kyriacou.eu/
217.155.192.145 200 0.623 N
Certificate error: RemoteCertificateChainErrors
https://www.amarone.kyriacou.eu/
217.155.192.145 200 0.390 N
Certificate error: RemoteCertificateNameMismatch, RemoteCertificateChainErrors
http://amarone.kyriacou.eu/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de
217.155.192.145 -14 10.027 T
Timeout - The operation has timed out
Visible Content:
http://www.amarone.kyriacou.eu/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de
217.155.192.145 -14 10.030 T
Timeout - The operation has timed out
Visible Content:

--standalone is hard to debug.

Isn't it possible to run a webserver on port 80, so you could use that?

Or is there a firewall or another blocking instance?

1 Like

Thank you for your prompt reply. My server was not meant to server non-ssl connections (hence standalone certbot) but your reply and your link made me realise what the poroblem was (firewall misconfiguration).
Many thanks to you and to the Letsencrypt team for all their wonderfull work.

1 Like

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