Programster's Blog

Tutorials focusing on Linux, programming, and open-source

AcmePHP - Remove Domain

If you look at the output of your acmephp status and see some domains you really weren't there, you can remove them by simply removing a couple of files. The BASH script below will do this for you once you give it the domain you wish to remove. E.g.

echo -n "Please enter the domain you wish to remove from acmephp: "
echo "Removing domain: $DOMAIN"

rm -rf $HOME/.acmephp/backup/certs/$DOMAIN
rm -rf $HOME/.acmephp/backup/private/$DOMAIN
rm -rf $HOME/.acmephp/master/certs/$DOMAIN
rm -rf $HOME/.acmephp/master/private/$DOMAIN
Last updated: 9th September 2018
First published: 9th September 2018