Avocent e java net connections error

Font: http://realtechtalk.com/Avocent_8020_KVM_Java_Icedtea_Viewer_-1702-articles


Avocent 8020 KVM Java Icedtea Viewer


It seems every other updated version of Java or Icedtea breaks things and I will save the frustration of Java for another post.

To fix this error you need to edit the java.security file manually (I recommend updating all in case there is any confusion about what version is being executed):


sudo vi /usr/lib/jvm/*/jre/lib/security/java.security

Notice the * (wildcard) this will have vi open up every version's java security for you to change or you could also try the most recent version.

Make the following line look like this:

jdk.tls.disabledAlgorithms=SSLv3, RC4


After that the error was fixed and finally the KVM viewer worked again (I wish you could just use VNC or other more reliable ways).

Do it automatically (as of current version this works)

sudo sed -i s/"jdk.certpath.disabledAlgorithms=MD2, MD5, RSA
keySize < 1024"/"jdk.certpath.disabledAlgorithms=MD2"/g

sudo sed -i s/"jdk.tls.disabledAlgorithms=SSLv3, MD5withRSA,
DH keySize < 768"/"jdk.tls.disabledAlgorithms=SSLv3, RC4"/g