Enabling SSL connections

To enable SSL for the Data Provider, add Encryption=ssl; TrustedFile=<trusted file> to the ConnectionString property. AseConnection then negotiates an SSL connection with the ASE server, for example:

AseConnection.ConnectionString=
     "Data Source=MANGO;" +
     "Port = 5000;" +
     "Database=pubs2;" +
     "UID=sa;" +
     "PWD=sapass;" +
     "Encryption=ssl;" +
     "TrustedFile='c:\sybase\ini\trusted.txt';";

NoteASE must be configured to use SSL. For more information on SSL, see the Adaptive Server Enterprise System Administration Guide.