My domain is: multiple and not necessary relevant (on test server).
I ran this command:
apt-get purge certbot
It produced this output:
Full /etc/letsencrypt directory deletion
My web server is (include version): Apache/2.4.38 (Debian)
The operating system my web server runs on is (include version): Debian GNU/Linux 10 (buster)
My hosting provider, if applicable, is: Test Linux box at home.
I can login to a root shell on my machine (yes or no, or I don't know): yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you're using Certbot): 0.31.0
While trying to migrate from Debian apt-get certbot to snap certbot, and willing to better clean packages, I ran "apt-get purge certbot" after "apt-get remove certbot" in order to better clean the package, but it appears this was a bad idea : this command deleted all the /etc/letsencrypt directory, then I have lost all my configurations.
Fortunately it was on a test server, but nevertheless, it was very hard to recover : this broke the Apache server making impossible to do a clean reinstall, and I had to deal with an approximative backup in order to be able to solve this while still having lost my original certificates, which I need despite it is a test server.
Now it seems to work, but my previous certificates are probably still out there in the cyberspace, and likely impossible to revoke.
How can I deal with this situation ?