Linux

StepsTo enable SSL connections

  1. Start the unixODBC Driver Manager odbcinst utility.

  2. Open an existing data source template or create a new one.

  3. Edit the data source template by adding the following:

    Encryption=sslTrustedFile=<filename>line
    
  4. Reinstall the data source using the unixODBC command line tool:

    #  odbcinst -i -s -f dsn template file
    

    where dsn template file is the complete path to the ASE ODBC data source template file.

If you are linking directly to the ASE ODBC Driver, modify the odbc.ini file.

Following is an example of the odbc.ini data source template file:

[sampledsn]
Description=Sybase ODBC Data Source
UserID=sa
Password= 
Driver=Adaptive Server Enterprise
Server=sampleserver 
Port=4100
Database=pubs2
UseCursor=1
Encryption=ssl
TrustedFile=<SYBASE>/config/trusted.txt