Add acme remove revoke

This commit is contained in:
2025-05-02 21:25:06 +02:00
parent 0169227af6
commit 41ab9a263d
3 changed files with 13 additions and 4 deletions

10
acme/acme_remove.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
set -e
. ./env.sh
curl https://get.acme.sh | sh -s email=$EMAIL
$HOME/.acme.sh/acme.sh --revoke --domain $DOMAIN
$HOME/.acme.sh/acme.sh --remove --domain vw.jamesvillage.dev
rm -r $SSL_PATH
rm -r $HOME/.acme.sh/"$DOMAIN"_ecc