If root/intermediate certificates are missing, signing/verification may fail with errors like:
ERROR 0x8f00040: not found root or intermediate certificate in system store
Run as Administrator from repo root:
.\install-kz-pki-certificates.ps1Then restart backend/related processes.
- Download official certificates from:
- Install root certs into:
Local Machine -> Trusted Root Certification Authorities
- Install intermediate certs into:
Local Machine -> Intermediate Certification Authorities
- Open
certmgr.msc/ MMC Certificates snap-in - Confirm NCA/Kazakhstan root/intermediate certs exist in expected stores
- Frontend NCALayer-based verification/signing depends on local certificate trust chain
- Backend NKalkan verification/signing also depends on proper root/intermediate setup
- Still failing after install:
- ensure certs installed in Local Machine store
- restart application and NCALayer
- verify certificate validity dates and keystore password