I'm running a Debian 8.11 (jessie) server (don't worry, a upgrade is plannend for later this year). It's a LAMP server, with addition to that, an ISPConfig installation. For the website (served through Apache), a SSL certificate is created with letsencrypt (or certbot, not sure if it's different). The thing is that it uses the old ACMEv1 protocol, which is deprecated and will be removed. Therefore, I'm trying to upgrade my certbot installation to use the new ACMEv2 protocol.
On the website of certbot it is stated that the packaged version of certbot must first be removed. However, this does not seem to be installed through a package manager. (apt-get remove certbot results in a Package "certbot" is not installed, so not removed).
Now I could manually remove all folders from certbot and letsencrypt, but that doesn't seem like the right way to do things. If I do a find for certbot and letsencrypt, I get the following data back:
find / -name certbot 2>/dev/null
/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot
/root/.local/share/letsencrypt/bin/certbot
/opt/certbot
find / -name letsencrypt 2>/dev/null
/root/.local/share/letsencrypt
/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt
/root/.local/share/letsencrypt/bin/letsencrypt
/var/log/letsencrypt
/var/lib/letsencrypt
/etc/letsencrypt
In addition, I do not know how the certificates are currently being renewed automatically. The system was set up by someone who is no longer available, so I can no longer request that data. I looked in crontab and the like, but I couldn't find anything there. The output of crontab -e:
0 19 * * * /var/scripts/{{WEBSHOP}}_feed_generator.scr
15 19 * * * /var/scripts/{{WEBSHOP}}_channable_feed_generator.scr
0,15,30,45 * * * * curl --silent https://www.{{WEBSHOP}}/index.php?route=ne/wapcron/do_scheduled
0 7,13,19 * * * /var/backups_www/scripts/createBackup.sh
* * * * * /usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done
* * * * * /usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done
So actually I have three questions;
- How do I find out how the certificates are automatically renewed / how can I stop it so that it does not interfere with the new system
- How can I properly remove the old system?
- If the above parts are done, can I follow the installation instructions for certbot-auto? Or are more steps required?