I am trying to connect to DB2 using Spring Cloud Connectors through PCF but my DB2 is 2-way SSL. Can any one tell me how I can configure SSL using Spring Cloud Connectors?
Normally i use like this without Spring Cloud Connectors
DB2SimpleDataSource dataSource = new DB2SimpleDataSource(); //NOSONAR
dataSource.setUser(userName);
dataSource.setPassword(password);
dataSource.setServerName(server);
dataSource.setPortNumber(Integer.parseInt(port));
dataSource.setDatabaseName(name);
dataSource.setDriverType(4);
dataSource.setSslConnection(true);
dataSource.setSslTrustStoreLocation("keystore/pas_ist_db.jks");
dataSource.setSslTrustStorePassword(sslPassword);