Scenario 3: .NET 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
  1. Generate the files client.pem, client.cert, and client.key on each client machine using openssl version 1.0.1c:
    openssl genrsa 1024 > client.key
    chmod 400 client.key
    openssl req -new -x509 -nodes -sha1 -days 365 -key client.key >
    client.cert
    openssl x509 -in client.cert -text > client.pem

    This example adds the SSL connection information to the .NET client connection string:

    String connectionString = "";
    connectionString += "uid=db_superuser;pwd=db_superuser;dbname=beehive;ip=153.65.178.185;port=2406;EnableSSL=1;sslcertificatepath=c:\\SSL_Relate\\client_cert\\client.cert;sslprivatekeypath=c:\\SSL_Relate\\client_cert client.key";