[M-14] Cert-embedded URLs (AIA/OCSP/CDP) compile-time hardcoded to mdidws.mypqc.com.my — must be externalized for the eMudhra variant #26
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#26
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
The URLs baked permanently into issued certificates are compile-time config with a production-looking default;
crl_base_urlisn't set anywhere and falls back to the same hardcoded host in code. Any deployment on another domain embeds wrong URLs forever. This is also the core eMudhra-onboarding blocker, together with branding (login/dev_doc pages), the SOAP endpoint default (M-6) and client credentials.Evidence
config/config.exs:13-14— ocsp/aia base URLslib/mdid_ws/cert_management/crl_publisher.ex:49, 69-72;ocsp_responder.ex:15;issuer_manager.ex:23— hardcoded@default_*_base_url.env.example— no corresponding varsImpact
Certificates issued by this deployment point at someone else's OCSP/CRL/AIA for their entire validity; eMudhra branding/config cannot be set per deployment.
Fix
Line numbers refer to the initial import commit
282cb11. Source: comprehensive audit, 2026-11-12 (first review of this codebase).