I am trying to follow along the sandbox connection using the Java API. This used to work last week, but now I get
the following error:
Exception in thread "main" com.bunq.sdk.exception.UncaughtExceptionError: Uncaught exception "Certificate pinning failure!
Peer certificate chain:
sha256/JSMzqOOrtyOT1kmau6zKhgT676hGgczD5VMdRMyJZFA=: CN=Amazon, OU=Server CA 1B, O=Amazon, C=US
sha256/++MBgDH5WGvL9Bcn5Be30cRcL0f5O+NyoXuWtQdX1aI=: CN=Amazon Root CA 1, O=Amazon, C=US
Pinned certificates for public-api.sandbox.bunq.com:
Is this a known issue? Thank you for any information on resolving this problem.
Update: I have figured out what is the issue here: I am using the Bunq provided Java API, which uses certificate pinning to explicitly check for a certificate hash. The sandbox certificate has been changed on 21-2-2021, and the new sha for this certificate is now considered invalid by the Java API. I am using version 1.14.18 which is latest release right now. Any updates on when this will be fixed?