Make own intermdiate ca for every server

This commit is contained in:
Alexey Berezhok
2026-02-21 23:14:43 +03:00
parent ce442bd753
commit 934b3f032e
9 changed files with 222 additions and 158 deletions

View File

@@ -52,6 +52,8 @@ if [ ! -e "$PATH_TO_CA/server_certs/$server" ]; then
exit 1
fi
IMM_CA="$PATH_TO_CA/$server"
pushd "$IMM_CA" || {
msg "Error: Could not change directory to $IMM_CA" "Ошибка: Не удалось перейти в каталог $IMM_CA" >&2
cd "$CURRENT_DIR" || exit 1