Follow this procedure if and only if Aster Database is SSL-enabled.
For instructions for generating and installing certificates, see the
Teradata Aster® Database User Guide for Aster Appliances or
Teradata Aster® Database User Guide for Commodity Hardware.
- Copy the file /home/beehive/truststore/truststore.jks from Aster Database to a location on the machine where KNIME runs (for example, C:\truststore on Windows or /home/beehive/truststore on Linux or macOS).
- Verify that you have permission to read the copied file.
-
Open a database table connector node:
- In the KNIME Node Repository, select Database.
- Select Read/Write.
- Select Database Connect.
-
In the Database Table Connector window:
-
In the Database URL field, enter the database URL credentials (without the line breaks):
- On Windows:
jdbc:ncluster://host:2406/db_name?ENABLESSL=true&SSLTRUSTSTORE= C:\truststore\truststore.jks&SSLTRUSTSTOREPASSWORD=SSLtruststorepassword
- On Linux or macOS:
jdbc:ncluster://host:2406/db_name?ENABLESSL=true&SSLTRUSTSTORE= /home/beehive/truststore.jks&SSLTRUSTSTOREPASSWORD=SSLtruststorepassword
- On Windows:
- In the User Name field, enter your Aster Database user ID.
- In the Password field, enter your Aster Database password.
- In the SQL Statement field, enter any valid SQL statement (only for the purpose of testing the connection).
- Click OK.
-
In the Database URL field, enter the database URL credentials (without the line breaks):
- Run the database table connector node. If you get a timeout error, check that the truststore.jks file was properly copied and that you have permission to read it.
-
Connect the Database Table Connector node to an Aster KNIME node of an analytic function:
- Double-click the function node.
-
In the Dialog window, in the Optional section, enter these values:
-
SSLSettings:
'ENABLESSL=true&SSLTRUSTSTORE=/home/beehive/truststore/truststore.jks'
-
SSLTrustStorePassword:
SSLTrustStorePassword
-
SSLSettings:
- Configure any other necessary node settings.
Now you can run the function
node.