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

11
acme/acme_issue.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
. ./env.sh
curl https://get.acme.sh | sh -s email=$EMAIL
mkdir -p $SSL_PATH
$HOME/.acme.sh/acme.sh --issue --dns dns_namecheap -d $DOMAIN \
--fullchain-file "$SSL_PATH/fullchain.cer" \
--key-file "$SSL_PATH/privkey.key" \
--reloadcmd "cat $SSL_PATH/privkey.key $SSL_PATH/fullchain.cer > $SSL_PATH/fullchain.pem"