JCE Problem and Configuration Changes
I am running my application on ubuntu system. I do configure the bouncy castle on my machine under JAVA home directory.
But I still get this kind of error message.
info] org.jasypt.exceptions.EncryptionOperationNotPossibleException: Encryption raised an exception. A possible cause is you are using strong encryption algorithms and you have not installed the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files in this Java Virtual Machine
[info] at org.jasypt.encryption.pbe.StandardPBEByteEncryptor.handleInvalidKeyException(StandardPBEByteEncryptor.java:999)
[info] at org.jasypt.encryption.pbe.StandardPBEByteEncryptor.encrypt(StandardPBEByteEncryptor.java:868)
[info] at org.jasypt.encryption.pbe.PooledPBEByteEncryptor.encrypt(PooledPBEByteEncryptor.java:429)
Solution
So it should not be a bouncy castle configuration problem. I follow this blog and fix the problem.
http://help.boomi.com/atomsphere/GUID-D7FA3445-6483-45C5-85AD-60CA5BB15719.html
Then I download the file from
http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
or
http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
I unzip the file and place the jar into my directory
/usr/lib/jvm/java-6-oracle/jre/lib/security
It works.
- 浏览: 2495574 次
- 性别:
- 来自: 成都
最新评论
-
nation:
你好,在部署Mesos+Spark的运行环境时,出现一个现象, ...
Spark(4)Deal with Mesos -
sillycat:
AMAZON Relatedhttps://www.godad ...
AMAZON API Gateway(2)Client Side SSL with NGINX -
sillycat:
sudo usermod -aG docker ec2-use ...
Docker and VirtualBox(1)Set up Shared Disk for Virtual Box -
sillycat:
Every Half an Hour30 * * * * /u ...
Build Home NAS(3)Data Redundancy -
sillycat:
3 List the Cron Job I Have>c ...
Build Home NAS(3)Data Redundancy
相关推荐
JCE,Java Cryptography Extension 1.8, java jce8 java jce
jce_policy-8.zip jar包,jdk,安全,security,oracle官网下载 稍微麻烦 上传供大家方便下载
Diffie-Hellman密钥一致协议和DES程序需要JCE工具库的支持
jce8、jce7下载 jdk8无政策限制权限文件,用于AES加密算法,AES加密扩展包因为某些国家的进口管制限制,Java发布的运行环境包中的加解密有一定的限制。比如默认不允许256位密钥的AES加解密,解决方法就是修改策略文件...
jce_policy-6.zip,jce_policy-8.zip,UnlimitedJCEPolicyJDK7.zip
免费的JCE提供者。Bouncy Castle 是一种用于 Java 平台的开放源码的轻量级密码术包。它支持大量的密码术算法,并提供 JCE 1.2.1 的实现。因为 Bouncy Castle 被设计成轻量级的,所以从 J2SE 1.4 到 J2ME(包括 MIDP...
微信企业号开发JCE6,JCE包需要根据自己的jdk版本下载,对应JDK6
jce_policy-8,JCE(Java Cryptography Extension)是一组包,它们提供用于加密、密钥生成和协商以及 Message Authentication Code(MAC)算法的框架和实现。 它提供对对称、不对称、块和流密码的加密支持,它还...
joomla JCE最新版本2.3.2.4 繁体中文语言包
jce6到8对应jar.zip,jce6、jce7、jce8对应的jar,详情可以参考https://stackoverflow.com/questions/38203971/javax-net-ssl-sslhandshakeexception-received-fatal-alert-handshake-failure
JCE 加密、解密算法
JCE无限制权限策略文件,里面是对应jdk6和7的文件 JCE(Java Cryptography Extension)是一组包,它们提供用于加密、密钥生成和协商以及 Message Authentication Code(MAC)算法的框架和实现。
JDK8 JCE 支持256位加密
Oracle官方java jdk JCE无限制权限策略文件。该策略文件均从官网下载。文件清单:JDK2//JDK4/JDK5/JDK6/JDK7/JDK8 的 local_policy.jar、US_export_policy.jar
jce_policy-8
jce_policy-6至8.zip
用于替换jdk里的两个jar,解决无法使用AES192、256位加密解密的问题 jce7,jce8
JAVA 加密 JCE Java密码扩展的基础 关于JCE的基础
jce policy 8 有需要的下载来,分分钟解决你遇到的问题! jce_policy-8,JCE(Java Cryptography Extension)是一组包,它们提供用于加密、密钥生成和协商以及 Message Authentication Code(MAC)算法的框架和实现...