Files
mtusi2026lab7-fork/evidence/grade3-https.md
T

26 lines
1012 B
Markdown

# Бизнес-API, проверка CA, logout и вложения по HTTPS
Предпосылки: подготовленный, разблокированный учебный стенд; Docker Compose, Python и локальный CA.
`make check`
Код завершения: 0.
```text
python3 scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
```
`make test test-security CA_FILE=secrets/tls/lab7-ingress-ca.crt`
Код завершения: 0.
```text
python3 tests/smoke.py --base-url "https://localhost:8443" --ca-file "secrets/tls/lab7-ingress-ca.crt"
PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.
python3 tests/security.py --base-url "https://localhost:8443" --ca-file "secrets/tls/lab7-ingress-ca.crt"
PASS: trusted HTTPS works; untrusted CA rejected. This does NOT verify internal mTLS, OpenBao or hardening.
```
Итог: все команды завершились успешно.