1. 程式人生 > >Eclipse 安裝SVN外掛報錯

Eclipse 安裝SVN外掛報錯

JDK: 1.7

OS: Mac OSX

簡述:Eclipse 安裝 SVN 外掛後,使用 SVN 建立本地資源倉庫報錯:
java.security.cert.CertificateException: Certificates does not conform to algorithm constraints

解決辦法:JAVA_HOME/jre/lib/security/java.security/

The issue was caused by latest Java 8 OpenJDK update that disabled MD5 related algorithms. As > a workaround until new certificates are issued (if ever), change the following keys at java.security > file
original keys
jdk.certpath.disabledAlgorithms=MD2, MD5, RSA keySize < 1024
jdk.tls.disabledAlgorithms=SSLv3, RC4, MD5withRSA, DH keySize < 768
change to
jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 1024
jdk.tls.disabledAlgorithms=SSLv3, RC4, DH keySize < 768
java.security file is located in linux 64 at/usr/lib64/jvm/java/jre/lib/security/java.security