问题
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