Scenario 4: JDBC Client-Side Settings - Aster Client

Teradata Aster® Client Guide

Product
Aster Client
Release Number
7.00
Published
May 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
hki1475000360386.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
B700-2005
lifecycle
previous
Product Category
Software
Issue the following JDBC commands on the client, substituting the correct user, password, database, and path values for the truststore:
Properties props = new Properties();
props.setProperty("user", "beehive");
props.setProperty("password", "beehive_password");
props.setProperty("database", "beehive");
props.setProperty("ENABLESSL", "true");
props.setProperty("SSLENCRYPTREADS", "true");
props.setProperty("SSLTRUSTSTORE","C:\\truststore\\truststore.jks");
props.setProperty("SSLTRUSTSTOREPASSWORD","aster_password");
props.setProperty("SSLFILETYPE", ","1");
Connection conn = DriverManager.getConnection(url, props);