Received fatal alert: handshake_failure #237
TMain-Tomi
started this conversation in
General
Replies: 1 comment
-
Hi Tomi Lin, Your problem is in the HTTP TLS handshake, so no issues with signing or encryption. Do you have some specific requirements on the TLS certificates (like specific ECDSA curves)? To customize the TLS certificate try the following - the main focus is on the javax.net.ssl.SSLContext sslContext = SSLContext.getInstance ("TLS");
// fill the next call correctly
sslContext.init (keyManagers, trustManagers, null);
HttpClientSettings httpClientSettings = new HttpClientSettings ();
httpClientSettings.setSSLContext (sslContext);
// further customize http client settings
clientUserMessage.getHttpPoster ().setHttpClientFactory (new HttpClientFactory (httpClientSettings));
// Send message now hth, Philip |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear @phax,
I meet a SSLHandshakeException when I use AS4ClientSentMessage to send a message. May you give me some advices?
My code:
And I have set the certificate to system property:
error detail:
Best Regards,
Tomi Lin
Beta Was this translation helpful? Give feedback.
All reactions