My old domain, greetonix.com was stolen (as an aside, this could have been prevented if there were a mechanism similar to the CAA record; i.e. only user designated registrars can make changes to the relevant domain name records).
Environment details: I have two machines, one is a physical server at my house (aka “yellow”), the other is a remote VPS (aka “production001”). The old domain was setup on yellow before I bought the VPS. Then I bought the VPS and while attempting to setup/transfer to my new DNS server, the domain name was stolen due to my own lack of alacrity. Then I got a new cert issued for the VPS with the new domain name sweetcious.com
The problem is that when I go to the website with the new domain, it shows the certs for the old domain! I am unable to resolve this.
I ran this command:
on yellow: certbot revoke greetonix.com
It produced this output:
From memory and paraphrased, It asked if I wanted to delete all the related files, I said yes.
certbot certificates on yellow produces:
root@yellow:/etc/bind# certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log
No certs found.
My new domain name sweetcious.com works in that a cert was issued.
The same command issued on the VPS gives what appear to be perfectly good results with one exception:
Expiry Date: 2018-12-05 00:38:44+00:00 (INVALID: TEST_CERT)
It seems related to https://github.com/certbot/certbot/issues/3922 as I used --staging many times prior to issuing the real cert.
My web server is (include version): Apache/2.4.18 (Ubuntu)
The operating system my web server runs on is (include version):
Ubuntu 16.04.5 LTS
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): no. bash command line only.