Start the unixODBC Driver Manager odbcinst utility.
Open an existing data source template or create a new one.
Edit the data source template by adding the following:
Encryption=sslTrustedFile=<filename>line
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