axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maoan Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RAMPART-323) org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size exception
Date Thu, 28 Feb 2013 14:01:20 GMT

    [ https://issues.apache.org/jira/browse/RAMPART-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13589546#comment-13589546
] 

Maoan Zhou commented on RAMPART-323:
------------------------------------

Very nice post, Thanks a lot, 
It solves my problem as well. 
Just some additions, if someone is using IDE like Eclipse, you have to double check 
the Installed JRE configuration and Run configuration the version of java it's using  and
patch the lib folder. 

Thanks. 
                
>         org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size exception

> ----------------------------------------------------------------------------------------------
>
>                 Key: RAMPART-323
>                 URL: https://issues.apache.org/jira/browse/RAMPART-323
>             Project: Rampart
>          Issue Type: Question
>    Affects Versions: 1.4
>         Environment: Windows XP service Pack2, Axis2 1.5, jdk1.5_06, rampart 1.4
>            Reporter: Abhinav Mishra
>            Assignee: Thilina Buddhika
>            Priority: Blocker
>              Labels: security
>         Attachments: AES256.txt, AES256.txt, Client.java, client.jks, Multiplication2CallbackHandler.java,
Multiplication2.java, Multiplication2Stub.java, PWCBHandler.java, service.jks, services.xml
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> I have already replaced those 2 jar files that are required to be replaced in $JAVA_HOME/jre/lib/security
directory. Also, i have placed bcprovjdk.jar in  $JAVA_HOME/jre/lib/ext . I have also modified
$JAVA_HOME/jre/lib/security/java.security file to contain security.provider.7=org.bouncycastle.jce.provider.BouncyCastleProvider.
still I am getting the same exception every time i run my client code.
> I have  got stuck here.
> Please provide some solution!!!!!
> Thanks in advance......

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message