When I set up certbot/letsencrypt, I was hosting two domains that are no longer in use. The registration for two of the aliases of the domain therune.com, therune.net and therune.org have expired and there is no DNS entry for them. This appears to cause the automatic renewal to fail. The primary CN for the certificate, eponasgrove.com, is no longer enabled, Apache redirects to the default site, marilynjevans.com. (This in turn redirects to marilynjevans.com/blog/
The errors I get when I attempt to renew are all complaints about the lack of a DNS entry for therune.net and an invalid response from therune.org (because the site is disabled)…
What’s the best way to recover from this? I’m already hitting rate limiting for some of these hosts. The certificate expires on August 7.
“–dry-run currently only works with the ‘certonly’ or ‘renew’
subcommands (‘run’)”
I’ve tried -d , it fails on DNS. If I put an entry in my hosts
file, it fails when it attempts to validate the site. I’m reluctant to
test random guessed commands because I’ve hit rate limiting, which
blocks me for seven days eight days before the cert expires.
I don't know about best, but the easy way looks like this:
--allow-subset-of-names
When performing domain validation, do not consider it
a failure if authorizations can not be obtained for a
strict subset of the requested domains. This may be
useful for allowing renewals for multiple domains to
succeed even if some domains no longer point at this
system. This option cannot be used with --csr.
(default: False)
(there can be several reasons why "authorizations can not be obtained" other than your issue, though)