Root Cause :
[java] Caused by: org.apache.ws.security.WSSecurityException:
An unsupported signature or encryption algorithm was used (unsupported key transport encryption algorithm:
No such algorithm: http://ww.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p)
[java] at org.apache.ws.security.util.WSSecurityUtil.getCipherInstance(WSSecurityUtil.java:689)
[java] at org.apache.ws.security.message.WSSecEncryptedKey.prepareInternal(WSSecEncryptedKey.java:195)
[java] at org.apache.ws.security.message.WSSecEncrypt.prepare(WSSecEncrypt.java:260)
[java] at org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:510)
Bouncycastle jar not found in the classpath.
Solution :
Download the Bouncycastle jar corresponding to your JDK from here and add it to the classpath.
0 comments:
Post a Comment