Attempting to use EJB's in a java client application with the "remote+https" protocol and using credential security files (i.e. both keystore and truststore) on the java command line (i.e. using the vm params to point to the files), the server never returns from the first EJB invocation until you terminate the server. I've tried this also using the credential files referred to in the wildfly-config.xml, however when using that method I get the following error:
javax.net.ssl|ERROR|31|XNIO-1 I/O-1|2022-03-01 16:42:22.909 MST|TransportContext.java:362|Fatal (HANDSHAKE_FAILURE): Invalid DH ServerKeyExchange: unknown extra data (
"throwable" : {
javax.net.ssl.SSLHandshakeException: Invalid DH ServerKeyExchange: unknown extra data
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:357)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:313)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:304)