forked from mtusi2026/mtusi2026lab7
11 lines
250 B
Bash
Executable File
11 lines
250 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
umask 077
|
|
mkdir -p secrets
|
|
chmod 700 secrets
|
|
[ -f .env ] || cp .env.example .env
|
|
scripts/pki.sh
|
|
python3 scripts/render-secrets.py
|
|
echo "Локальные сертификаты и credentials готовы."
|