One of my sites/domains expires, and I don’t want to renew it.
I want to let it expire and remove it from my server, and I want to remove everything, databases, files, apache configurations, and ssl certificate created with certbot.
My server is a Centos8 with apache, certbot and the certificates were installed and created following these instructions: https://certbot.eff.org/lets-encrypt/centosrhel8-apache.
Can you explain how to remove this damn certificate of the domain/site that I want to delete without messing around?
Every time it’s a hell, as soon as I start deleting or disabling something on the site I want to delete certbot and apache start freaking out and I get the most absurd errors, cerbot crashes, apache crashes and all my sites go offline.
I just tried it again now, paying close attention to every single step, I tried to delete the domain certificate only, but it didn’t work, I tried to completely delete the certificate (I have a certificate with all domains inside), it didn’t work , I removed the domain from apache enabled, it didn’t work, I removed the domain from apache avaiable, it didn’t work, I deleted the domain files from the let’s encrypt / live / renew folders, etc, etc, it didn’t work, and step by step apache gets messed up and now I’m restoring a backup of the entire server…
I’m really tired of this thing, it’s a hell every time, and all the guides that are online only generate errors upon errors.
So please somebody explain to me how to correctly remove the certificate of a domain that I want to delete from my server, before I go crazy…
At this point even deleting and completely removing certbot from my server and then reinstalling a new clean version, because I don’t know what mess has already been done, but obviously I can’t do it every time I have to remove a domain in future…