Files
ubuntu/rootfs/usr/local/share/template-files/config/env/examples/ssl.sh
casjay 51b713d32e
Some checks failed
ubuntu-20-04 / ubuntu-20-04 (push) Failing after 5m57s
ubuntu-18-04 / ubuntu-18-04 (push) Failing after 11m45s
ubuntu-22-04 / ubuntu-22-04 (push) Failing after 21m1s
ubuntu / release-ubuntu (push) Failing after 48m40s
ubuntu-24-10 / ubuntu-24-10 (push) Failing after 48m43s
ubuntu-24-04 / ubuntu-24-04 (push) Failing after 48m47s
🦈🏠🐜 Initial Commit 🐜🦈🏠
2025-09-17 16:37:28 -04:00

20 lines
722 B
Bash

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# ssl server settings
SSL_ENABLED="${SSL_ENABLED:-false}"
SSL_DIR="${SSL_CONTAINER_DIR:-/config/ssl}"
SSL_DIR="${SSL_DIR:-$SSL_DIR}"
SSL_CA="${SSL_CA:-$SSL_DIR/ca.crt}"
SSL_KEY="${SSL_KEY:-$SSL_DIR/server.key}"
SSL_CERT="${SSL_CERT:-$SSL_DIR/server.crt}"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# certificate settings
RSA="${RSA:-4096}"
STATE="${STATE:-NY}"
CITY="${CITY:-Albany}"
COUNTRY="${COUNTRY:-US}"
UNIT="${UNIT:-CasjaysDev}"
ORG="${ORG:-"Casjays Developments"}"
DAYS_VALID="${DAYS_VALID:-3650}"
CN="${CN:-${FULL_DOMAIN_NAME:-$HOSTNAME}}"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -