Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

WS-Security with Axis adapter - decryption failure

$
0
0

Hi,

 

For interoperability reasons we have to use the AXIS SOAP receiver for a ws-security setup with an external party.

signing and encrypting the request is working and a response is received. During the WSDoAllReceiver step the following error is encountered:

 

com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: WSDoAllReceiver: security processing failed; nested exception is:

org.apache.ws.security.WSSecurityException: General security error (WSSecurityEngine: Callback supplied no password for: EDSNTMR)

 

The module settings are

crypto.view = DEFAULT

handler.type = java:com.sap.aii.adapter.axis.ra.handlers.security.WSDoAllReceiver

passwordCallbackClass = com.sap.aii.axis.security.DefaultPasswordCallbackHandler (same error if this is left out)

 

It looks as if the WSDoallReceiver expects a password to be supplied for accessing the private key EDSNTMR in the keystore. However this makes little sense as the keystore should be fully readable to the axis adapter.

Is there an alternate password callbackhandler I could use or some way to provide a password to the function? (pwd.password as module paramter has no effect

 

Our system is:

 

SAP PO 7.31 SP6

Axis adapter with wss4j 1.5.10


Viewing all articles
Browse latest Browse all 7030

Trending Articles



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