FairCom's isql utility allows you to run SQL scripts and interactively run SQL from the command line. You can use TLS to connect isql to a FairCom server by prepending ssl: to the connection string:
isql -u admin -p ADMIN ssl:6597@localhost:ctreesql