How to setup Oracle 12C with support TLS 1.2?
The only version of TLS in Net Manager is 1.0.
I've set up a secure connection, and the handshake connects using TLSv1.
I'm using ojdbc7.jar from 12.1.0.2
The JRE used to launch is JRE 1.8.0_60
The connection is made using a javax.sql.DataSource reference with org.apache.commons.dbcp.BasicDataSourceFactory:
Reference ref = new Reference("javax.sql.DataSource", "org.apache.commons.dbcp.BasicDataSourceFactory", null);
ref.add(new StringRefAddr("driverClassName", Configurator.getJDBCDriver()));
ref.add(new StringRefAddr("url", Configurator.getURL()));
ref.add(new StringRefAddr("username", Configurator.getUser()));
ref.add(new StringRefAddr("password", Configurator.getPassword()));
ref.add(new StringRefAddr("maxActive", Configurator.getMaxActive()));
ref.add(new StringRefAddr("maxIdle", Configurator.getMaxIdle()));