Start the unixODBC Driver Manager odbcinst utility.
Open an existing datasource template or create a new one.
To the datasource template, add:
Encryption=sslTrustedFile=<filename>line
Reinstall the datasource using:
# odbcinst -i -s -f dsn template file
where dsn template file is the complete path to the Adaptive Server ODBC datasource template file.
If you are linking directly to the Adaptive Server ODBC Driver or the Sybase iAnywhere ODBC Driver Manager, modify the odbc.ini file.
This is an example of the odbc.ini datasource 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