Data360 Analyze

 View Only
  • 1.  Alternate TrustStoreFile from JDBC Query node

    Posted 06-26-2023 13:29

    Using the HTTP node we are able to input an alternative location and password for a TrustStoreFile if needed. However the JDBC Query node doesn't have this same option. Is there a way to accomplish the same using a JDBC Query node?

    Our company doesn't allow modifying program files, so we are not able to add additional certificates to the default KeyStore using the keytool method.



    ------------------------------
    Alex Day
    Knowledge Community Shared Account
    ------------------------------


  • 2.  RE: Alternate TrustStoreFile from JDBC Query node

    Employee
    Posted 06-29-2023 10:17

    This would depend on the capabilities of the JDBC driver you are using to access the target RDBMS. For example, the SQL Server JDBC Driver documentation shows the driver supports the "trustStore" connection property which is used to specify the path to the certificate truststore file. 

    The trustStore property value can be provided as part of the connection string in the node's DbUrl property or as a key:value pair in the node's DbOptons property.

    See also the SQL Server JDBC Driver information for the  "trustStorePassword" and "trustStoreType" properties. If a password is used it would be prudent to specify the value on the node using a property substitution to a password-type Run property or Dataflow Property - meaning the password value would be securely stored in the java keystore rather than as a clear-text string.



    ------------------------------
    Adrian Williams
    Precisely Software Inc.
    ------------------------------



  • 3.  RE: Alternate TrustStoreFile from JDBC Query node

    Posted 08-08-2023 10:14

    Hi Adrian, 

    Thanks for the help with this, I was able to get the connection working using the connection string properties that point to our alternate keystore



    ------------------------------
    Alex Day
    Knowledge Community Shared Account
    ------------------------------