Keystore/truststore configuration has changed between CXF 2.3.x and 2.4.x due to the switch from WSS4J 1.5.x to 1.6.x. Please see here: http://coheigea.blogspot.com/2011/01/wss4j-16-crypto-property-change.html for more details.

HTH,
Glen

On 06/30/2011 10:59 AM, mickysantomax wrote:
I tried to run CXF examples coming with source distribution and all works
fine.

I tried to reproduce same example in my application (with same certificates,
properties configuration files and so on) and have the error: "The signature
or decryption was invalid".

Tried with mixed scenarious:

       my CXF client and examples CXF service ->  OK
       my CXF server and examples CXF client ->  ERROR: "The signature or
decryption was invalid".

Tried with standalone Jetty server (versione 6.1.25). Initially there were a
ClassNotFoundException (BouncyCastle), but after adding properly jar into
classpath, the error persist.

Below there's the log extracted from standalone Jetty server:

http://pastebin.com/75GPqKax

Thanks for your help.

--
View this message in context: 
http://cxf.547215.n5.nabble.com/Problem-with-WS-Security-and-CXF-2-4-0-tp4443698p4539118.html
Sent from the cxf-user mailing list archive at Nabble.com.


--
Glen Mazza
Application Integration Division
Talend (http://www.talend.com/ai)
blog: http://www.jroller.com/gmazza


Reply via email to