This is an old revision of the document!
Newer versions of Java require an SSL key length of at least 1024, however older apps may not provide that long of a key.
Here, we edit $JAVA_HOME/jre/lib/security/java.security
to reduce the requirement to 512.
Change 1024
to 512
, 256
or 128
as necessary to cover the SSL cert being presented:
jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 1024
to
jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 512
Another suggestion:
#jdk.certpath.disabledAlgorithms=MD2, MD5, RSA keySize < 1024 jdk.certpath.disabledAlgorithms=MD2 #jdk.tls.disabledAlgorithms=SSLv3, RC4, MD5withRSA, DH keySize < 768 jdk.tls.disabledAlgorithms=SSLv3, RC4