28 lines
1.4 KiB
Plaintext
28 lines
1.4 KiB
Plaintext
Service mTLS identity verification
|
|
Date: 2026-11-27 (Europe/Moscow)
|
|
|
|
Commands:
|
|
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/test-service-mtls-identities.ps1
|
|
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/test-internal-tls.ps1
|
|
python tests/smoke.py --base-url https://localhost:8443 --ca-file secrets/pki/public-ca/ca.crt
|
|
|
|
Observed:
|
|
PASS: API/worker use distinct broker identities; trusted-CA wrong roles receive
|
|
no AMQP access or OTel ingest; direct backend bypass is rejected.
|
|
PASS: DB, S3, broker, Redis, Collector, telemetry backends and OpenBao verify
|
|
server CA/hostname; all declared mTLS endpoints reject no-cert clients.
|
|
PASS: PostgreSQL, Redis and RabbitMQ runtime identities are separate and
|
|
forbidden operations are denied.
|
|
PASS: lab7 public API scenario.
|
|
|
|
Negative identity probes:
|
|
- migration-client is signed by the same workload CA as API/worker but receives
|
|
no AMQP protocol response through the API gateway;
|
|
- API client certificate receives no AMQP protocol response through the worker gateway;
|
|
- migration-client receives HTTP 403 from the OTel gateway;
|
|
- missing client certificate is rejected by both gateway types;
|
|
- workload certificates cannot connect directly to RabbitMQ or OTel Collector;
|
|
those backend listeners trust only service-CA gateway client leaves.
|
|
|
|
No certificate private key, password, token or telemetry payload is stored here.
|