I’ve run ‘certbot delete’ for a domain that’s been moved to a different server, but when I ran a “renew” with the --dry-run flag, I’m still seeing a reference to that domain in the output.
Syntax error on line 25 of /etc/httpd/conf.d/moved_NOW_ON_PROD.domain.tld.conf: SSLCertificateFile: file '/etc/letsencrypt/live/www.moved.domain.tld/cert.pem' does not exist or is empty
_(I renamed the etc/httpd/conf.d/hostname.domain.tld.conf file to include 'NOW_ON_PROD’ as part of the filename so that we wouldn’t try making changes, & then wonder why those changes weren’t taking effect.)
I’m guessing that perhaps there’s a config file somewhere that is storing the list of domains - and that maybe it’s possible to edit that file & delete the reference to the obsolete domain??