|
Hi All, I am working with axis2 1.0 and wss4j 1.5 to implement
WS-Security feature supported by this architecture. I am using rampart module to sign the soap messages. Now when I invoke a web service I get the following error
message: << Start of Error Message>> org.apache.axis2.AxisFault: WSHandler: Signature: unknown
key identification; ne sted exception is:
org.apache.ws.security.WSSecurityException: WSHandler: Signature: unknow n key identification at
org.apache.axis2.security.WSDoAllSender.processMessage(WSDoAllSender. java:255) at
org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandle r.java:82) at
org.apache.axis2.engine.Phase.invoke(Phase.java:381) at
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473) at
org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:572) at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO peration.java:328) at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAx isOperation.java:279) at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java: 457) at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java: 399) at
sample.security.ClientWebSecurityToken.main(ClientWebSecurityToken.ja va:60) Caused by: org.apache.ws.security.WSSecurityException:
WSHandler: Signature: unk nown key identification at
org.apache.ws.security.handler.WSHandler.decodeSignatureParameter(WSH andler.java:397) at
org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.jav a:124) at
org.apache.axis2.security.WSDoAllSender.processMessage(WSDoAllSender. java:181) ... 9 more << End of Error Message >> From error it looks like I am not giving correct “signatureKeyIdentifier”
in axis2.xml. As per the document, I came to know that value of “signatureKeyIdentifier”
should be IssuerSerial number so I assigned CA’s serial number
to this tag but it did no work? Can anyone figure it out where I am going wrong? Best Regards, |
- WSHandler: Signature: unknown key identification Shyam Shukla
- Re: WSHandler: Signature: unknown key identification Ruchith Fernando
- RE: WSHandler: Signature: unknown key identifica... Shyam Shukla
- Re: WSHandler: Signature: unknown key identi... Ruchith Fernando
- RE: WSHandler: Signature: unknown key id... Shyam Shukla
- RE: WSHandler: Signature: unknown key id... Shyam Shukla
- Re: WSHandler: Signature: unknown k... Ruchith Fernando
- RE: WSHandler: Signature: unkno... Shyam Shukla
- Re: WSHandler: Signature: u... Ruchith Fernando
- RE: WSHandler: Signature: u... Shyam Shukla
- Re: WSHandler: Signature: u... Ruchith Fernando
