Лабораторная 7: TLS, mTLS и OpenBao

This commit is contained in:
2026-11-28 01:28:30 +03:00
parent 20afc2c790
commit 2c2734df60
119 changed files with 8651 additions and 104 deletions
+11 -1
View File
@@ -1,6 +1,6 @@
PYTHON ?= python3
BASE_URL ?= https://localhost:8443
CA_FILE ?=
CA_FILE ?= $(CURDIR)/secrets/ca/ca.crt
ACTION_SCRIPT ?=
TLS_ARGS = $(if $(CA_FILE),--ca-file "$(CA_FILE)",)
@@ -31,3 +31,13 @@ test-failover:
test-security:
$(PYTHON) tests/security.py --base-url "$(BASE_URL)" $(TLS_ARGS)
.PHONY: test-observability test-student-security test-tls-matrix
test-observability:
$(PYTHON) student-tests/observability_tls.py
test-student-security:
$(PYTHON) student-tests/public_security.py
test-tls-matrix:
docker compose --profile operator run --rm --no-deps -v "$(CURDIR):/workspace:ro" migrate python /workspace/student-tests/internal_security.py