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

Mayank Mishra commented on CXF-2238:
------------------------------------

Even running wssc sample I received the same,

C:\apache-cxf-2.2.1\samples\ws_security\interopfest\wssc>mvn -Pserver

......................


Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Fact
ry method [public static org.apache.cxf.configuration.jsse.spring.TLSServerPara
etersConfig org.apache.cxf.transport.http_jetty.spring.JettyHTTPServerEngineBea
DefinitionParser.createTLSServerParametersConfig(java.lang.String) throws java.
ecurity.GeneralSecurityException,java.io.IOException] threw exception; nested e
ception is java.io.IOException: exception decrypting data - java.security.Inval
dKeyException: Illegal key size
        at org.springframework.beans.factory.support.SimpleInstantiationStrateg
.instantiate(SimpleInstantiationStrategy.java:127)
        at org.springframework.beans.factory.support.ConstructorResolver.instan
iateUsingFactoryMethod(ConstructorResolver.java:435)
        ... 45 more
Caused by: java.io.IOException: exception decrypting data - java.security.Inval
dKeyException: Illegal key size
        at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.cryptData(Unknown So
rce)
        at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(Unknown S
urce)
        at java.security.KeyStore.load(KeyStore.java:1185)
        at org.apache.cxf.configuration.jsse.spring.TLSParameterJaxBUtils.getKe
Store(TLSParameterJaxBUtils.java:125)
        at org.apache.cxf.configuration.jsse.spring.TLSParameterJaxBUtils.getKe
Managers(TLSParameterJaxBUtils.java:204)
        at org.apache.cxf.configuration.jsse.spring.TLSServerParametersConfig.<
nit>(TLSServerParametersConfig.java:57)
        at org.apache.cxf.transport.http_jetty.spring.JettyHTTPServerEngineBean
efinitionParser.createTLSServerParametersConfig(JettyHTTPServerEngineBeanDefini
ionParser.java:205)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.beans.factory.support.SimpleInstantiationStrateg
.instantiate(SimpleInstantiationStrategy.java:115)
        ... 46 more
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An exception occured while executing the Java class. null

exception decrypting data - java.security.InvalidKeyException: Illegal key size
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 39 seconds
[INFO] Finished at: Mon May 25 18:31:28 IST 2009
[INFO] Final Memory: 30M/54M
[INFO] ------------------------------------------------------------------------


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

Reply via email to