Initial commit

This commit is contained in:
2022-06-21 14:02:24 +02:00
commit dbd2cb88a1
6 changed files with 55 additions and 0 deletions
Executable
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
if [ $# -ne 1 ]; then
echo this program expects 1 single argument
exit 1
fi
mkcert $1
sudo mkdir -p /etc/letsencrypt/live/$1/
sudo mv $1-key.pem /etc/letsencrypt/live/$1/privkey.pem
sudo mv $1.pem /etc/letsencrypt/live/$1/fullchain.pem