Hi,
Via Java Code I can connect to the DB by setting the URL and some properties in a Properties Object:
Properties jdbcProp = new Properties();
…
jdbcProp.put("javax.net.ssl.trustStoreType", "JKS");
jdbcProp.put("javax.net.ssl.trustStore", “…”);
jdbcProp.put("javax.net.ssl.trustStorePassword", “…”);
jdbcProp.put("javax.net.ssl.keyStoreType", "JKS");
jdbcProp.put("javax.net.ssl.keyStore", “…”);
jdbcProp.put("javax.net.ssl.keyStorePassword", “…”);
try {
OracleDataSource dataSource = new OracleDataSource();
dataSource.setConnectionProperties(jdbcProp);
dataSource.setURL("myURL");
return dataSource;
} catch (SQLException e) {
throw new RuntimeException(e);
}
I would like to do the same via Oracle SQL Developer. For the reason I modified the sqldeveloper.conf by adding these rows at the end:
AddVMOption -Djavax.net.ssl.trustStore=...
AddVMOption -Djavax.net.ssl.trustStoreType=...
AddVMOption -Djavax.net.ssl.trustStorePassword=...
AddVMOption -Djavax.net.ssl.keyStore=...
AddVMOption -Djavax.net.ssl.keyStoreType=JKS
AddVMOption -Djavax.net.ssl.keyStorePassword=...
However:

What I'm doing wrong?