forked from mtusi2026/mtusi2026lab7
Storage servers accept only TLS 1.3 (pg_hba hostssl / hostnossl reject, Valkey port 0, S3 gateway HTTPS only) with stand identities postgres, valkey and s3. Clients trust only the stand CA from [client_tls] ca_file and check the host name; no switch to disable verification. Processes exit with code 2 without a CA or with an IP storage address. Temporary stands, CI and bench/ run on TLS storages; make storage_tls_check adds negative checks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 lines
1.6 KiB
Plaintext
24 lines
1.6 KiB
Plaintext
# Identity стенда (change pki-ingress-mtls, design, решения 2 и 4): строка на
|
|
# identity — имя, профиль (server | client), DNS-имена SAN через запятую,
|
|
# форма файлов (split — <имя>.crt и <имя>.key; bundle — ещё <имя>.pem из
|
|
# сертификата и ключа для HAProxy). Новая identity — новая строка, скрипт
|
|
# infra/pki/pki.sh не меняется. Пустые строки и # — комментарии. Правка
|
|
# SAN или профиля строки — `make pki_stand` перевыпустит этот leaf.
|
|
#
|
|
# ingress: localhost — внешние клиенты, ingress — алиас LB в сети стенда для
|
|
# клиентов внутри неё (job CI, k6 стенда bench/; change https-tooling).
|
|
#
|
|
# postgres, valkey, s3 (change storage-tls, design, решение 2): серверы
|
|
# хранилищ; первое имя SAN = POSTGRES_HOST / VALKEY_HOST / S3_HOST из .env
|
|
# (клиенты в сети стенда проверяют имя, по которому подключаются; смена
|
|
# *_HOST — та же правка строки), localhost — порт на хосте для консоли и
|
|
# проверок с хоста.
|
|
#
|
|
# имя профиль SAN форма
|
|
haproxy client haproxy bundle
|
|
api server api split
|
|
ingress server localhost,ingress bundle
|
|
postgres server postgres,localhost split
|
|
valkey server valkey,localhost split
|
|
s3 server s3,localhost split
|