initial commit

This commit is contained in:
Ludwig Lehnert
2026-02-03 16:39:37 +01:00
commit 70fe6076a4
30 changed files with 2128 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -euo pipefail
CERT_DIR="${1:-./traefik/certs}"
HOSTNAME="${2:-localhost}"
mkdir -p "${CERT_DIR}"
openssl req -x509 -nodes -newkey rsa:2048 \
-keyout "${CERT_DIR}/traefik.key" \
-out "${CERT_DIR}/traefik.crt" \
-days 365 \
-subj "/CN=${HOSTNAME}"
echo "Generated certs in ${CERT_DIR} for CN=${HOSTNAME}"