Use ConnectionString to enable SSL connection for Adaptive Server ODBC Driver.
To enable SSL for Adaptive Server ODBC Driver, add Encryption=ssl and TrustedFile=<filename> (where filename is the path to the trusted roots file) to the ConnectString. The Adaptive Server ODBC Driver then negotiates an SSL connection with the Adaptive Server.