Letsencrypt-auto renew -- All renew attempts failed

Please fill out the fields below so we can help you better.

My domain is:

I ran this command:
letsencrypt-auto renew --webroot -w /srv/www/htdocs

It produced this output:

Processing /etc/letsencrypt/renewal/moneytime.wattstelesales.com.conf

2016-07-18 01:31:23,935:WARNING:certbot.renewal:Attempting to renew cert from /etc/letsencrypt/renewal/moneytime.wattstelesales.com.conf produced an unexpected error: Failed authorization procedure. moneytime.wattstelesales.com (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Could not connect to http://moneytime.wattstelesales.com/.well-known/acme-challenge/tmz6YSb7Vi7TpUZ6BDFSp5hL032Wg6n68lrx2JMf5Xc. Skipping.

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


  • The following errors were reported by the server:

    Domain: moneytime.wattstelesales.com
    Type: connection
    Detail: Could not connect to

    To fix these errors, please make sure that your domain name was
    entered correctly and the DNS A 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 operating system is (include version):
NAME="openSUSE Leap"
PRETTY_NAME="openSUSE Leap 42.1 (x86_64)"

My web server is (include version):
Apache/2.4.23 (Linux/SUSE)

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):

In response to the suggestion solution:

The DNS A Record is correctly pointing to the server’s public IP address, there’s no firewall (except the server’s own iptables, which is set to allow both port 80 and 443). Browsing to the subdomain in chrome for both http and https works (http redirects to https, though, as per the original setup with letsencrypt)

The cert is now expired, but was working correctly before it expired…

I’m thinking that it is a webroot issue, but I’m not sure how to fix/resolve the issue… This is a Vicibox 7 installation.

I’m unable to connect to on both port 80 and 443. Maybe your ISP is blocking those ports?

Thank you for your response

I suppose, I should have clarified - iptables is allowing those ports for authorized IP addresses (it’s own WAN network is permitted, of course).

Does the process use a 3rd party to connect? If so, what IP address(es) need to be allowed?

I temporarily put it to policy ACCEPT and ACCEPT — same results.

Yes, there's a request from a validation server hosted by Let's Encrypt. That's necessary in order to demonstrate domain ownership.

Let's Encrypt doesn't publish a set of IP addresses for validation as it is bound to change. It's possible that validation requests will be sent from multiple, unpredictable IPs in the future, in order to make it harder to spoof validation requests. If you'd like to use the webroot plugin, your domain would have to be publicly available.

As an alternative, you can use a challenge type called DNS-01 that works using TXT records that you need to add to your DNS. This is currently not supported by certbot, but a number of other clients such as the bash clients or lego do support this.

Not sure if you still had that rule up when I tested it, but I still get a timeout. I would recommend testing connectivity via some other network before attempting renewal, to verify your changes are working. You could use a VPS somewhere, or go through Tor.

Try now... I'll leave it open until your reply. Here's the output from iptables -nL:

Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all --
ACCEPT all --
[additional ACCEPT rules for remote access]
DROP all -- match-set badips src
ACCEPT all --
ACCEPT icmp -- ctstate RELATED
input_int all --
input_ext all --
LOG all -- limit: avg 3/min burst 5 LOG flags 6 level 4 prefix "SFW2-IN-ILL-TARGET "
ACCEPT all --

Chain FORWARD (policy DROP)
target prot opt source destination
LOG all -- limit: avg 3/min burst 5 LOG flags 6 level 4 prefix "SFW2-FWD-ILL-ROUTING "

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all --

Chain forward_ext (0 references)
target prot opt source destination

Chain forward_int (0 references)
target prot opt source destination

Chain input_ext (1 references)
target prot opt source destination
DROP all -- PKTTYPE = broadcast
ACCEPT all -- recent: CHECK name: GOOD side: source mask:
ACCEPT icmp -- icmptype 4
DROP all -- PKTTYPE = multicast
DROP all -- PKTTYPE = broadcast
LOG tcp -- limit: avg 3/min burst 5 tcp flags:0x17/0x02 LOG flags 6 level 4 prefix "SFW2-INext-DROP-DEFLT "
LOG icmp -- limit: avg 3/min burst 5 LOG flags 6 level 4 prefix "SFW2-INext-DROP-DEFLT "
LOG udp -- limit: avg 3/min burst 5 ctstate NEW LOG flags 6 level 4 prefix "SFW2-INext-DROP-DEFLT "
DROP all --

Chain input_int (1 references)
target prot opt source destination
ACCEPT all --

Chain reject_func (0 references)
target prot opt source destination
REJECT tcp -- reject-with tcp-reset
REJECT udp -- reject-with icmp-port-unreachable
REJECT all -- reject-with icmp-proto-unreachable

Ahh found the iptables rule I had missed:

Chain input_ext (1 references)
DROP all --

removed that and got:

Processing /etc/letsencrypt/renewal/moneytime.wattstelesales.com.conf

new certificate deployed without reload, fullchain is

Congratulations, all renewals succeeded. The following certs have been renewed:
/etc/letsencrypt/live/moneytime.wattstelesales.com/fullchain.pem (success)

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