[
https://issues.apache.org/jira/browse/CXF-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713893#action_12713893
]
Mayank Mishra commented on CXF-2238:
------------------------------------
Oops! Silly Mistake by me. I knew this then also I did the same.
Due to import control restrictions for some countries, the Java
CryptographyExtension (JCE) policy files shipped with the J2SE DevelopmentKit
and the J2SE Runtime Environment allow strong but limited cryptography to be
used. These files are located at
/lib/security/local_policy.jar
/lib/security/US_export_policy.jar
An unlimited strength version of these files indicating no restrictions on
cryptographic strengths is available on the JDK web site for those living in
eligible countries.
> WS-Security Interop plugfest test failing:
> wssec10/MutualCertificate10SignEncrypt (tried against MS server and local CXF
> server both)
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CXF-2238
> URL: https://issues.apache.org/jira/browse/CXF-2238
> Project: CXF
> Issue Type: Bug
> Components: WS-* Components
> Affects Versions: 2.2.1
> Environment: apache-cxf-2.2.1, jdk1.6.0_13, apache-ant-1.7.1, Windows
> XP
> Reporter: Mayank Mishra
> Fix For: Invalid
>
>
> I installed a fresh CXF 2.2.1 and tried running security interop samples.
> Below is the exception trace:
> Caused by: java.io.IOException: exception decrypting data -
> java.security.Invali
> dKeyException: Illegal key size
> at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.cryptData(Unknown
> Sou
> rce)
> at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(Unknown
> So
> urce)
> at java.security.KeyStore.load(KeyStore.java:1185)
> at
> org.apache.ws.security.components.crypto.AbstractCrypto.load(Abstract
> Crypto.java:168)
> ... 38 more
> MutualCertificate10SignEncrypt: Exception:
> javax.xml.ws.soap.SOAPFaultException:
> org.apache.ws.security.components.crypto.Merlin cannot create instance
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.