Hi friends,
When testing OSB proxy service getting error "The invocation resulted in an error: Cipher not initialized."
*******************************Solution*************************************
As per oracle documatation,
Due to the import restrictions of some countries, the jurisdiction policy files distributed with the JDK software have built-in restrictions on available cryptographic strength.
By default , the AES 256 cryptographic algorithm does not work with the JRE/JDK Oracle Service Bus uses. In order to make it work, JCE Extension jars ( Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files) should be used for the JDK Security.
Steps:
1. Download JCE Extension jars from
http://java.sun.com/javase/downloads/index.jsp
(Under 'Additional resources' there is an 'Other downloads' section which has a link to the 'Java Cryptography Extension (JCE)).
2. Replace the two jars (US_export_policy.jar & local_policy.jar) in the <JAVA_HOME>/jre/lib/security directory.
3. Restart the servers for the changes to take effect.
Thanks
Souvik
Thanks Souvik, this post saved me.
ReplyDeleteIn my BUS 10 (ALSB) already the jars, so I downloaded the corresponding versions the my jdk and it worked:
http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-plat-419418.html
Hi, We are also facing the same above cipher not initialized issue and we have performed steps taking JCE7 and replaced in /jre/lib/security directory .our jre is 1.7.0_17. I also used JCE8 but not worked. please advise.
ReplyDelete