Hi friends i need help
I try to migrate my AS 7 to wildfly 8 ( 8.0 , 8.2 inclusive 9.0) only one proyect cant' work i have axis2 web service, this call a EJB finally this call a SSL soap webservice whit this code:
I use OPENJDK 7 ( and 8 only for test this error)
String urlval = "https://emisionz.conectorfiscal.mx/bfcorpcfdi32ws";
System.setProperty("javax.net.ssl.keyStore", "rutacert");
System.setProperty("javax.net.ssl.keyStorePassword", "pass");
System.setProperty("javax.net.ssl.keyStoreType", "pkcs12");
SOAPConnectionFactory scf = SOAPConnectionFactory.newInstance();
SOAPConnection conn = scf.createConnection();
System.out.println("Conectado a: " + urlval);
IN AS 7 work perfect but in Wildfly always return error, with ssl debu i read this:
0000: E4 CF 21 22 7A 45 4C 28 00 CA DA 82 19 4F 49 18 ..!"zEL(.....OI.
default task-2, WRITE: TLSv1 Change Cipher Spec, length = 32
*** Finished
verify_data: { 246, 26, 15, 161, 181, 148, 249, 198, 181, 208, 25, 3 }
***
default task-2, WRITE: TLSv1 Handshake, length = 48
default task-2, READ: TLSv1 Alert, length = 32
default task-2, RECV TLSv1 ALERT: fatal, handshake_failure
%% Invalidated: [Session-21, TLS_RSA_WITH_AES_256_CBC_SHA]
%% Invalidated: [Session-22, TLS_RSA_WITH_AES_256_CBC_SHA]
default task-2, called closeSocket()
default task-2, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
default task-2, called close()
default task-2, called closeInternal(true)