Connections > JDBC V2 connection properties > Connect to SSL-enabled databases for mappings in advanced mode
  

Connect to SSL-enabled databases for mappings in advanced mode

You can use JDBC V2 connection in mappings in advanced mode to connect to an SSL-enabled JDBC-complaint database. To run mappings in advanced mode with SSL-enabled JDBC-complaint databases, you need to download the SSL certificates to the Secure Agent machine, and then perform certain prerequisite tasks.
  1. 1Specify the JDBC URL in the JDBC V2 connection properties.
  2. To connect to an SSL-enabled Aurora PostgreSQL database, specify the following JDBC URL:
    jdbc:postgresql://<host>:<port>/dbname?sslmode=verify-ca&sslrootcert=<Location of the SSL certificate on the Secure Agent machine> , where the values for sslmode supports verify-ca and verify-ca.
    For example, jdbc:postgresql://aurorapostgres-appsdk.abc.ap-south-1.rds.amazonaws.com:5432/JDBC_V2?sslmode=verify-full&sslrootcert=/data/home/qamercury/cloud_td/Aurora_cert/rds-combined-ca-bundle.pem.
  3. 2After you specify the JDBC URL in the JDBC V2 connection properties, in the advanced session properties of the mapping task, select advanced.custom.property as the session property name.
  4. 3In the session property value, specify the following value:
  5. Spark.NeedUserCredentialFileForAdapter=true&:Spark.UserCredentialDirOnDIS=<Location of the SSL certificate on the Secure Agent machine>