Enabling SSL Connections

Add Encryption=ssl; TrustedFile=<trusted file> to the ConnectionString property to enable SSL for the Data Provider.

AseConnection then negotiates an SSL connection with the Adaptive Server.

For example:
AseConnection.ConnectionString=
     "Data Source=MANGO;" +
     "Port = 5000;" +
     "Database=pubs2;" +
     "UID=sa;" +
     "PWD=sapass;" +
     "Encryption=ssl;" +
     "TrustedFile='c:\sybase\ini\trusted.txt';";
Note: Adaptive Server must be configured to use SSL. For more information on SSL, see the Adaptive Server Enterprise System Administration Guide.