cancel
Showing results for 
Search instead for 
Did you mean: 

Erro SOAP Receiver: handshake failure

pedro_baroni3
Active Contributor
0 Kudos

Pessoal, boa tarde.

Tenho um Canal de Comunicação SOAP Receiver, com autenticação por usuário e senha.

Ao enviar a requisição para o Channel, é gerado o seguinte erro:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

 

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIAdapterFramework</SAP:Category>

<SAP:Code area="MESSAGE">GENERAL</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.RecoverableException: Peer sent alert: Alert Fatal: handshake failure: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

mencionando problema de handshake.

No log Java, encontrei as seguintes mensagens:

p.aii.af.soapadapter#co

ssl_debug(6603): Sending v3 client_hello message, requesting version 3.1...

ssl_debug(6603): Received v3 server_hello handshake message.

ssl_debug(6603): Server selected SSL version 3.1.

ssl_debug(6603): Server created new session CA:23:B4:0E:C7:16:0A:8F...

ssl_debug(6603): CipherSuite selected by server: TLS_RSA_WITH_AES_256_CBC_SHA

ssl_debug(6603): CompressionMethod selected by server: NULL

ssl_debug(6603): Received certificate handshake message with server certificate.

ssl_debug(6603): Server sent a 1024 bit RSA certificate, chain has 1 elements.

ssl_debug(6603): ChainVerifier: No trusted certificate found, OK anyway.

ssl_debug(6603): Received server_hello_done handshake message.

ssl_debug(6603): Sending client_key_exchange handshake message (1024 bit)...

ssl_debug(6603): Sending change_cipher_spec message...

ssl_debug(6603): Sending finished message...

ssl_debug(6603): Received alert message: Alert Fatal: handshake failure

ssl_debug(6603): SSLException while handshaking: Peer sent alert: Alert Fatal: handshake failure

ssl_debug(6603): Shutting down SSL layer...

Alguém já viu este erro e teria alguma informação a respeito?

Desde já agradeço.

Pedro Baroni

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member193386
Active Contributor
0 Kudos

Pedro

Estou achando estranho, o problema com hs só ocorre normalmente com troca de certificados, caso contrario vc estaria tendo um socket error failure mesmo.

Seria esse o seu cenário?

pedro_baroni3
Active Contributor
0 Kudos

Carlos,

Em nosso cenário não utilizamos Certificado, porém em contato com o Fornecedor dos WebServices, identificamos o problema na aplicação dele, pois haviam configurado para somente aceitar conexões com Certificado. Porém o problema já foi corrigido na aplicação dele e a Interface voltou a funcionar.

Obrigado.

former_member193386
Active Contributor
0 Kudos

Tranquilo

Precisando estamos ai