WSO2 サンプル 100 (WS-Security サンプル) を実行すると、私の WSO2-ESB は次のエラー メッセージをスローします。
ERROR - Axis2Sender Unexpected error during sending message out org.apache.axis2.AxisFault: Error in encryption
At org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:117)
....
org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size or default parameters
そして、私の WSO2-AS は次のようにスローします。
ERROR {org.apache.axis2.engine.AxisEngine} - Missing wsse:Security header in request org.apache.axis2.AxisFault: Missing wsse:Security header in request
「不正なキー サイズまたはデフォルト パラメータ」とはどういう意味ですか? このエラーを修正するにはどうすればよいですか?
ところで、JCE API と local_policy.jar、US_export_policy.jar などが含まれている JDK 1.6 を使用しています。したがって、JCE の問題ではないと思います。(http://wso2.org/node/2520/print)