?? 7 - TLS trust boundary ? observability #27

Closed
Mirariel wants to merge 1 commits from Mirariel/mtusi2026lab7:solution/bpi2303-martines into main
First-time contributor

????? - ???????????? 7

  • ?????: ???????? ?????????, ???2303
  • ??????? ??????: 4
  • ???????: TLS-??????? HAProxy, ????????? trust matrix, ????????? observability, S3 ? durable worker ?? ?????????? ????????????.

??????

python scripts/bootstrap.py
docker compose up -d --build --wait
python tests/smoke.py --base-url https://127.0.0.1:8443 --ca-file certs/ca.crt
python student-tests/security.py

????????? ??? ???????? ??????? ??????: docker compose down. ??? ??????????? ???????? ??????: docker compose down -v.

??????????? ? ????????????

HAProxy ????????? ?????????? HTTPS ?? 8443 ? ????????? ?????????? ?? ??????? ??????? ????? ????????? CA. API-???? ???????? ?? ?????????? Docker-???? ? ???????? health-check. PostgreSQL, Redis ? MinIO ?? ????????? data-????? ?? host. ??????????? ???????????? scripts/bootstrap.py ? SAN ??? localhost ? 127.0.0.1; ????????? ????? ???????????? Git. ??????? ??????? ????????? ? contracts/trust-matrix.md.

??? ??????? ????????? ?????? TLS, ? ?? production PKI: ??? production ????? ??????????? CA, ??????? ???????? ? mTLS/identity-aware gateway ????? ?????????.

??????????????

???????? ??????? ?????????
???????????? docker compose config --quiet PASS
????????? Python python -m compileall -q src scripts student-tests PASS
Public API python tests/smoke.py --base-url https://127.0.0.1:8443 --ca-file certs/ca.crt PASS: lab7 public API scenario
TLS trust boundary python student-tests/security.py trusted cert accepted; untrusted cert rejected
Infrastructure docker compose up -d --build --wait db, redis, minio, 2 API, HAProxy, worker, Prometheus, Grafana healthy

???????????

? ?????? ????????? ?????? ??????????? ????????? TLS-?????? ingress. ??????????? OpenBao ? production mutual TLS ?? ?????????? ??? ???????????: ??? ????????? ??? ????????? ???? ? ??????? CA ? ?????????? ?????? ????????.

# ????? - ???????????? 7 - ?????: ???????? ?????????, ???2303 - ??????? ??????: 4 - ???????: TLS-??????? HAProxy, ????????? trust matrix, ????????? observability, S3 ? durable worker ?? ?????????? ????????????. ## ?????? ```text python scripts/bootstrap.py docker compose up -d --build --wait python tests/smoke.py --base-url https://127.0.0.1:8443 --ca-file certs/ca.crt python student-tests/security.py ``` ????????? ??? ???????? ??????? ??????: `docker compose down`. ??? ??????????? ???????? ??????: `docker compose down -v`. ## ??????????? ? ???????????? HAProxy ????????? ?????????? HTTPS ?? `8443` ? ????????? ?????????? ?? ??????? ??????? ????? ????????? CA. API-???? ???????? ?? ?????????? Docker-???? ? ???????? health-check. PostgreSQL, Redis ? MinIO ?? ????????? data-????? ?? host. ??????????? ???????????? `scripts/bootstrap.py` ? SAN ??? `localhost` ? `127.0.0.1`; ????????? ????? ???????????? Git. ??????? ??????? ????????? ? `contracts/trust-matrix.md`. ??? ??????? ????????? ?????? TLS, ? ?? production PKI: ??? production ????? ??????????? CA, ??????? ???????? ? mTLS/identity-aware gateway ????? ?????????. ## ?????????????? | ???????? | ??????? | ????????? | |---|---|---| | ???????????? | `docker compose config --quiet` | PASS | | ????????? Python | `python -m compileall -q src scripts student-tests` | PASS | | Public API | `python tests/smoke.py --base-url https://127.0.0.1:8443 --ca-file certs/ca.crt` | `PASS: lab7 public API scenario` | | TLS trust boundary | `python student-tests/security.py` | trusted cert accepted; untrusted cert rejected | | Infrastructure | `docker compose up -d --build --wait` | db, redis, minio, 2 API, HAProxy, worker, Prometheus, Grafana healthy | ## ??????????? ? ?????? ????????? ?????? ??????????? ????????? TLS-?????? ingress. ??????????? OpenBao ? production mutual TLS ?? ?????????? ??? ???????????: ??? ????????? ??? ????????? ???? ? ??????? CA ? ?????????? ?????? ????????.
Mirariel added 1 commit 2026-11-20 19:22:37 +03:00
Implement lab 7 TLS trust boundary
Skeleton contracts / contracts (pull_request) Blocked by required conditions
1416ea25e2
Mirariel closed this pull request 2026-11-20 20:27:31 +03:00

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mtusi2026/mtusi2026lab7#27