DH keypair exception in salesforce

眉间皱痕 提交于 2019-12-08 12:18:06

问题


I want to get access token of go instant api and I when I did this it send me following error


17:21:46:505 EXCEPTION_THROWN [10]|System.CalloutException: java.lang.RuntimeException: Could not generate DH keypair


Please help me with this problem.


回答1:


The issue has been resolved. It was due to a misconfiguration on our TLS endpoint that made it incompatible with Apex Callouts (and some Java versions). I've confirmed Apex Callouts are once again working.




回答2:


It sounds like your SSL Library doesn't support 2048-bit DH parameters. Take a look at the BouncyCastle SSL Library as an alternative to what you're using. https://www.bouncycastle.org/latest_releases.html If you continue to have problems after changing to BouncyCastle, please email us at support at goinstant.com so we can do a more in-depth debug of your problems.

re: https://developers.goinstant.com/v1/rest-api/authentication.html#comment-1397240856



来源:https://stackoverflow.com/questions/23784016/dh-keypair-exception-in-salesforce

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!