The following is the format for the sql.ini file for SSL:
[SYBSRV2] master=nlwnsck,mango1,4100,ssl query=nlwnsck,mango1,4100,ssl query=nlwnsck,mango1,5000,ssl
The format for the interfaces file is:
sybsrv2 master tcp ether mango1 5000 ssl query tcp ether mango1 4100 ssl query tcp ether mango1 5000 ssl
jConnect supports multiple query entries under the same server name in the sql.ini or interfaces file. jConnect attempts to connect to values for host or port from the query entry in the sequence, as in the sql.ini or interfaces file. If jConnect finds a SSL in a query entry, it will require the application to be coded to handle SSL connections by specifying an application specific socket factory, or the connection may fail.