Test.bankid File
Before moving to production, ensure you have run the following scenarios in :
Unlike many open APIs, BankID requires strict mutual TLS (mTLS) authentication. Here is the step-by-step to get into the test environment. test.bankid
curl: (56) Received fatal alert: unknown_ca or unable to get local issuer certificate . Fix: You forgot to include the intermediate test CA certificate. Ensure your key store (p12) includes the full chain. BankID test uses a different Root CA than production. Download the BankID Test CA v1 from the official portal. Before moving to production, ensure you have run
In production, a user opens their BankID app. In test.bankid, you must use the . BankID provides a minimal web interface specifically for testers. Fix: You forgot to include the intermediate test
Use any personal number not in the test whitelist (e.g., 190000009999 ). The initial auth call will succeed, but the collect step will return userNotFound or noSuchUser .