KVM how-to

Windows instructions:

1) Run WordPad with Administrator rights (click with the right mouse button and select approrpiate menu item), open file (CTRL + O):

C:\Program Files (x86)\Java\jre1.8.0_131\lib\security\java.POLICY

and after the following lines:

// default permissions granted to all domains
grant {

paste the following:

permission java.net.SocketPermission "kvm2.dcxv.com:65043", "connect, accept";

or use the following line in case of issues, using the IP address:

permission java.net.SocketPermission "", "connect, accept";

2) Open JAVA Control PANEL ( Start - Configure Java ) -> Security tab -> Exception Site List -> Edit Site List -> Add


It's necessary to reboot the Windows after these operations!

Linux instructions:

Install Java 1.8:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default

Open and edit the file $JAVA_HOME/jre/lib/security/java.security:

ps aux|grep java
update-alternatives --list java
sudo vim /usr/lib/jvm/java-8-oracle/jre/lib/security/java.security

should look like the following:

jdk.certpath.disabledAlgorithms=MD2, DSA, RSA keySize < 1024
jdk.tls.disabledAlgorithms=MD5, SSLv3, RC4, DSA, RSA keySize < 1024, DH keySize < 768

and add exceptions:

echo "https://kvm2.dcxv.com:65043" >> ~/.java/deployment/security/exception.sites
echo "https://kvm2.dcxv.com:65043/rc.jar" >> ~/.java/deployment/security/exception.sites
echo "" >> ~/.java/deployment/security/exception.sites
echo "" >> ~/.java/deployment/security/exception.sites