cancel
Showing results for 
Search instead for 
Did you mean: 

Error when passing data through Business connector

Former Member
0 Kudos

Dear all,

we are getting below exception in BC trace while connecting to the remote url through SAP BC. Please guide us how to solve this problem.

java.lang.RuntimeException: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by TrustDecider
	at com.wm.pkg.sap.rfc.ListenerCallHandler.handleRequest(ListenerCallHandler.java:516)
	at com.sap.conn.idoc.jco.DefaultJCoIDocServerWorker$IDocDispatcher.handleRequest(DefaultJCoIDocServerWorker.java:72)
	at com.sap.conn.jco.rt.DefaultServerWorker.dispatchRequest(DefaultServerWorker.java:141)
	at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.dispatchRequest(MiddlewareJavaRfc.java:2621)
	at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(MiddlewareJavaRfc.java:1919)
	at com.sap.conn.jco.rt.DefaultServerWorker.dispatch(DefaultServerWorker.java:258)
	at com.sap.conn.jco.rt.DefaultServerWorker.loop(DefaultServerWorker.java:320)
	at com.sap.conn.jco.rt.DefaultServerWorker.run(DefaultServerWorker.java:219)
	at com.wm.util.TimeWrappingProvider$TimeMesuredTask.run(TimeWrappingProvider.java:40)
	at com.wm.pkg.sap.rfc.ListenerThread.run(ListenerThread.java:70)
Caused by: iaik.security.ssl.SSLCertificateException: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by TrustDecider
	at com.wm.app.b2b.client.Context.invoke(Context.java:1290)
	at com.wm.app.b2b.client.Context.invoke(Context.java:1106)
	at com.wm.app.b2b.client.Context.connect(Context.java:764)
	at com.wm.app.b2b.client.Context.connect(Context.java:706)
	at wm.server.remote.checkConnection(remote.java:888)
	at wm.server.remote.checkConnection(remote.java:861)
	at wm.server.remote.invoke(remote.java:397)
	at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:310)
	at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:699)
	at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
	at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:468)
	at com.wm.app.b2b.server.Service.doInvoke(Service.java:574)
        at com.wm.app.b2b.server.Service.doInvoke(Service.java:499)
	at pub.JSBC_remote.invoke(JSBC_remote.java:34)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:310)
	at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:699)
	at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:147)
	at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:279)
	at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:556)
	at com.wm.lang.flow.FlowState.step(FlowState.java:427)
	at com.wm.lang.flow.FlowState.invoke(FlowState.java:397)
	at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:972)
	at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:699)
	at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:481)
	at com.wm.app.b2b.server.Service.doInvoke(Service.java:590)
	at com.wm.pkg.sap.rfc.ListenerCallHandler.handleRequest(ListenerCallHandler.java:454)
	... 9 more

Thanks and Regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI Chandra

please check the SSL certificate for the system which you want to connect

Because due to security reason your system secure certificate is not authenticated by system and thats why you are getting exception

so import right certificate and your probem will be solved

thanks

sandeep

Former Member
0 Kudos

Dear sandeep,

Thank you very much for your fast response.

We have alredy downloaded certificate given by the other party and configured in BC.We are able to get the response from a from third party from url separtely from internet explorer.while executing by using service we are getting the above exception.

Please give us some inputs on this issue.

Thanks and Regards,

Edited by: chandra madapati on Dec 30, 2008 1:28 PM

Answers (1)

Answers (1)

dirk_schwppe
Member
0 Kudos

Dear all,

did you allready solve this problem with the cert's in BC use?

We are facing exact the same problem, and it seems to us that the BC is not doing what he should do.

We have have even used the parameter mentioned in Guides, that should the BC ignore some cert's...

but it still doesn't work as it is documented.

With kind regards...

Dirk.

Former Member
0 Kudos

Dear ,

We resolved this issue. We faced this issue because of the variation in the 'bit'. Our BC was 56 bit and webserver supports only 128bit since its IIS is 128 bit. We reinstalled SAP BC with 128 bit It is working fine.

Regards