cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-2238) WS-Security Interop plugfest test failing: wssec10/MutualCertificate10SignEncrypt (tried against MS server and local CXF server both)
Date Thu, 28 May 2009 01:11:45 GMT

    [ https://issues.apache.org/jira/browse/CXF-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713823#action_12713823
] 

Daniel Kulp commented on CXF-2238:
----------------------------------


That error means that you have not installed the strong crypto libraries into your JDK/JRE.
  See the Requirements section in the README for the interopfest samples: 

The samples in this directory use STRONG encryption.  The default encryption algorithms
included in a JRE is not adequate for these samples.   The Java Cryptography Extension
(JCE) Unlimited Strength Jurisdiction Policy Files available on Sun's JDK download
page[3] *must* be installed for the examples to work.   If you get errors about invalid
key lengths, the Unlimited Strength files are not installed.

[3] http://java.sun.com/javase/downloads/index.jsp


> 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
>
> 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.


Mime
View raw message