op-developer / psd2-registration-example

Examples for generating certificates for MTLS, JWT Signing and registering to OP's PSD2 Sandbox
MIT License
5 stars 7 forks source link

Unable to find valid certification path to requested target #8

Closed lightmed closed 4 years ago

lightmed commented 4 years ago

I got this when program tries to register (https://mtls-apis.psd2-sandbox.op.fi/tpp-registration/register): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.

I'm not a Java expert, but seems that program uses it's own TrustStore, so I don't have to add certificate to anywhere (although I tried that too)?

keksipurkki commented 4 years ago

Thanks for the bug report. We noticed an issue with the QWAC and will report here once the issue has been resolved.

Elias T. / PSD2 at OP Financial Group

keksipurkki commented 4 years ago

The QWAC issues should be resolved in sandbox. @lightmed Can you verify that you do not get the TLS alert anymore?

lightmed commented 4 years ago

It's working, thank you!