Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9159

SSL javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

$
0
0

Hi all,

 

B1if version: 1.19.3

 

I need to make a connection to a ssl webservice.

For this I use the Call HTTP atom, because then I can control the complete payload (header + body) of the soap message.

 

I imported the certificate in a truststore which I configured in the control center.

After running the call, I get following error:

 

<Payload Role="C" id="atom2" statusNo="HTTP" statusMsg="" reference="atom3" sysid="" payload="atom3" throwException="false">  <http.header />     <httaError xmlns="urn:com.sap.b1i.xcellerator:upltdoc" HTTPcode="" HTTPmsg="">       <exceptionMsg>javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure</exceptionMsg>       <returnData />  </httaError>  </Payload>

My connection setup is as followed (left out sensitive info offcourse)

 

<connect>  <destProtocol>https</destProtocol>  <destHost>myenv.myhost.com</destHost>  <destPort>443</destPort>  <destPath>mypath/sub</destPath>  <query />  <proxyHost>myproxy.net</proxyHost>  <proxyPort>8080</proxyPort>  <method>post</method>  <authentification>none</authentification>  <user />  <password />  <user2query />  <password2query />  <trustStoreURI>com.sap.b1i.vplatform.directory/System/truststore.jks</trustStoreURI>  <keyStoreURI /> </connect>

The payload xml is very basic, just a request to logon to the webservice and get back a token

 

<payload>
- <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
- <s:Header>  <Action xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none" s:mustUnderstand="1">https://mycompleteurl.com</Action>   </s:Header>
- <s:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <login xmlns="https://mycompleteurl.com">  <username xmlns="">USER</username>  <password xmlns="">*********</password>  </login>  </s:Body>  </s:Envelope>  </payload>

Can anyone help me with this?

In what direction should I look?

 

Thanks,

 

Joeri


Viewing all articles
Browse latest Browse all 9159

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>