Files
mtusi2026lab7/evidence/verify-https-resilience.txt
T

24 lines
1.4 KiB
Plaintext

# HTTPS smoke, persistence restart and API replica failover
Date: 2026-11-26
Stand: local Docker Desktop, compose project hla-lab7
Command:
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\verify-https-resilience.ps1
Observed output:
PASS: ports, privileges, capabilities, filesystems and resource limits satisfy the local hardening contract.
PASS: 20 certificate/key bundles are valid; private/operator secrets are untracked; present SecretIDs are within TTL.
PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
{"observed_instances_before": 2, "successful_writes": 7, "failed_attempts": 0, "first_recovery_seconds": 5.042}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
PASS: HTTPS smoke, persistence restart and one-replica failure completed with CA and hostname verification enabled.
Hook scope:
scripts/restart.cmd stops nginx, api, worker, redis, postgres, minio and rabbitmq,
then starts the stateful services, runs minio-init and rabbitmq-init, and restores
worker, two API replicas and nginx. Volumes are not removed.
scripts/stop-one.cmd resolves exactly one API container by instance ID and stops it.
No tokens, session cookies, private keys or message payloads are included.