Why I encounter `javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure` when trying to connect to Midtrans API ?

This usually caused by outdated Java client.
Please check the Java version, web framework version, and OS version used to connect. Please make sure you are not using outdated version, and stay updated.

For example if your versions are Java version 7, web framework version Spring 3.1, and OS version windows 7.
Please update the Java version, because version 7 is no longer officially supported by Oracle (https://java.com/en/download/faq/java_7.xml). Other than that, Spring and OS version is also outdated. Using outdated platforms make your system vulnerable to security threats, which is not suitable environment for handling payments.




Was this article helpful?
9 out of 14 found this helpful
Can't find your answer? How about looking at our Tech Docs?

Tech docs

Our API and plug-ins play well with platforms from PHP, Shopify, Woo Commerce to Android and many more.

Learn more