In MySQLConnection::connection() we propagate the config options for truststore/keystore to JVM-level system properties:
As of Connector/J 8.0, this should not be needed, as those options can be set solely at a connector level, i.e. we should propagate them in the "database." connector property namespace, using the names given in the driver docs. This will allow to use multiple connectors with different truststore/keystore settings on a single JVM.