Skip to Content
0
Former Member
Aug 03, 2009 at 08:30 AM

Problems with SAP BC to post a request to https URL

158 Views

Hello,

in a integration scenario one of our partners wants to send a xml to our server via https.<br/>

I tried this internal with a test business connector. I simple use the WmPublic.pub.client http service.<br/>

I try to post a record to an https:// URL and get an error. It seems that there is some trouble with the ssl handshake. However it is working in the browser.<br/>

The option Security -> Certificates -> Trusted Certificates -> CA Certificates Directory is 'unspecified'. Therefore no server certificate should be reject.<br/>

<br/>

Now I got an 'iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure<br/>

' error. I do not find any helpful entries in this forum. Did anyone solve this issue?<br/>

<br/>

Thank you,<br/>

Nils<br/>

<br/>

error:<br/>

2009-08-03 10:08:13 CEST iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure<br/>

at iaik.security.ssl.r.f(Unknown Source)<br/>

at iaik.security.ssl.x.b(Unknown Source)<br/>

at iaik.security.ssl.x.a(Unknown Source)<br/>

at iaik.security.ssl.r.d(Unknown Source)<br/>

at iaik.security.ssl.SSLTransport.startHandshake(Unknown Source)<br/>

at iaik.security.ssl.SSLTransport.getInputStream(Unknown Source)<br/>

at iaik.security.ssl.SSLSocket.getInputStream(Unknown Source)<br/>

at com.wm.net.NetURLConnection.trySSLConnect(NetURLConnection.java:691)<br/>

at com.wm.net.NetURLConnection.httpsConnect(NetURLConnection.java:562)<br/>

at com.wm.net.NetURLConnection.connect(NetURLConnection.java:171)<br/>

at com.wm.net.HttpURLConnection.getOutputStream(HttpURLConnection.java:419)<br/>

at com.wm.net.HttpContext.getOutputStream(HttpContext.java:578)<br/>

at com.wm.net.HttpContext.getOutputStream(HttpContext.java:554)<br/>

at com.wm.net.HttpContext.post(HttpContext.java:338)<br/>

at pub.client.http(client.java:512)<br/>

<br/>

SAP BC Info:<br/>

Software <br/>

Product webMethods Integration Server <br/>

Version 4.6 (Standard Encryption) Release Notes <br/>

Updates BC46_CoreFix7 <br/>

Build Number 940 + CoreFix 7 [Fixes 1-205 + SP1-3] <br/>

SSL Standard (40-bit), Provider: IAIK 2.6 <br/>

<br/>

Server Environment <br/>

Java Version 1.3.1_20 (47.0) <br/>

Java Vendor Sun Microsystems Inc. <br/>

Java Home /usr/jdk1.3.1_20/jre <br/>

Java VM Version 1.3.1_20-b03 <br/>

Java VM Info Java HotSpot(TM) Client VM (mixed mode) <br/>

Classpath /usr/local/sapbc46/server/updates/BC46_CoreFix7.jar<br/>

/usr/local/sapbc46/server/lib/server.jar<br/>

/usr/java/lib/i18n.jar<br/>

/usr/java/jre/lib/rt.jar<br/>

/usr/java/lib/i18n.jar<br/>

/usr/java/jre/lib/rt.jar<br/>

/usr/java/lib/i18n.jar<br/>

/usr/java/jre/lib/rt.jar<br/>

/usr/java/lib/i18n.jar<br/>

/usr/java/jre/lib/rt.jar<br/>

/usr/java/lib/i18n.jar<br/>

/usr/java/jre/lib/rt.jar<br/>

/usr/java/lib/i18n.jar<br/>

/usr/java/jre/lib/rt.jar<br/>

/usr/local/sapbc46/server/lib/classes<br/>

/usr/local/sapbc46/server/lib/client.jar<br/>

/usr/local/sapbc46/server/lib/mail.jar<br/>

/usr/local/sapbc46/server/lib/server.jar<br/>

packages/SAP/code/classes<br/>

packages/SAP/code/jars/static/inqmyxml.jar<br/>

packages/SAP/code/jars/static/jARM.jar<br/>

packages/SAP/code/jars/static/jCO.jar<br/>

packages/SAP/code/jars/static/sapjco.jar<br/>

packages/SAP/code/jars/static/sapxmltoolkit.jar<br/>

packages/WmPartners/code/classes<br/>

packages/WmWin32/code/classes <br/>

OS Linux <br/>

OS Platform i386 <br/>

OS Version 2.6.18.8-0.13-default <br/>

Current User sapbc <br/>

Working Dir /usr/local/sapbc46/server<br/>