Healthstat SimpleSAML error: Unable to load certificate
Symptoms
A user tries to log in to a Healthstat environment. During the login process they authenticate using Itsme, eID, pasword + MFA, ... and after doing so they get redirected to Healthstat to finish the authentication flow. However, Healthstat does not complete the authentication flow succesfully: instead it throws the following error.
SimpleSAML\Error\Error: UNHANDLEDEXCEPTION
[...]
Caused by: Exception: saml20-idp-remote/'https://sso-acc.healthdata.be/auth/realms/healthstat': Unable to load certificate/public key from file [...]

Root cause
During the authentication flow, Healthstat needs a certificate. The above error suggests that the path to that certificate file, the certificate file's permissions or the content of the file are invalid.
Solutions
Go into the pods of the Healthstat environment and verify the root cause. If that is indeed the root cause, then contact DevOps to deploy a fix.
docs.healthdata.be