[M-11] Contradictory SOAP-outage policy: enrollment fails closed, renewal fails open #23
Labels
No labels
architecture
code-quality
correctness
critical
docs
high
low
medium
ops
performance
privacy
security
tests
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
antrapol/CA-MDID-eMudhra#23
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Finding
Enrollment returns
{:error, :certificate_status_unavailable}→ 503 on SOAP errors, but standalone renewal classifies any SOAP error as 'no remote certificate' and proceeds — the 30-day-window remote check silently vanishes during Trustgate outages.Evidence
lib/mdid_ws/cert_management/enrollment.ex:142-143lib/mdid_ws/cert_management/renewal.ex:302—classify_renewal_soap_status(_result), do: {:ok, nil}Impact
Inconsistent availability/security posture during upstream outages.
Fix
Line numbers refer to the initial import commit
282cb11. Source: comprehensive audit, 2026-11-12 (first review of this codebase).