9.7 Unable to Login into the Oracle VM Web Services API

Connections to the Oracle VM Web Services API fail if you are using a Java runtime version lower than 1.7.0_131_b31. As of Oracle VM Release 3.4.5, the SSL TLS version 1 (TLSv1) protocol is disabled within Oracle VM Manager for security reasons and connections using the TLSv1.2 protocol are only accepted. The TLSv1.2 protocol is the default in Java runtime version 1.7.0_131-b31, and as a result, connections to the Oracle VM Web Services API fail if a lower Java runtime version is used.

Workaround: Make sure you are using Java runtime version 1.7.0_131-b31 or higher. The Java runtime version that ships with Oracle VM Manager Release 3.4.5 is sufficient. Alternatively, for lower versions of Java runtime, update the Java client and make sure that the SSLContext ctx attribute is set as follows:

SSLContext ctx = SSLContext.getInstance("TLSv1.2");

For more information about authentication against the REST API in the Java Client, see the Java topic in the Oracle VM Web Services API Developer's Guide.

Bug 27611305