码迷,mamicode.com
首页 > 编程语言 > 详细

Java_Certificates does not conform to algorithm constraints

时间:2015-04-01 19:12:51      阅读:471      评论:0      收藏:0      [点我收藏+]

标签:

java.security.cert.CertificateException: Certificates does not conform to algorithm constraints

SSL证书问题

出现此错误信息时解决办法:

找到jre路径:JDK_HOME/jre/lib/security/java.security 或JDK目录下的JRE

找到内容:jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 1024

 

把此行注释掉如:

#jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 1024

 

搞定!!!

Java_Certificates does not conform to algorithm constraints

标签:

原文地址:http://www.cnblogs.com/gisblogs/p/4384577.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!