To configure the client environment to use SSL
Set the client Sybase UNIX variable:
prompt% source $SYBASE/SYBASE.csh (or .sh)
Copy the trusted.txt file to the $SYBASE config directory:
prompt% cp $SYBASE/$SYBASE_OCS/bin/trusted.txt $SYBASE/config
Go to the $SYBASE directory:
prompt% cd $SYBASE
Edit the interfaces file, and append the SSL entry to the Master and Query entries for the DirectConnect service:
prompt% cat interfaces
servicename master tcp ether machine name 12510 ssl query tcp ether machine name 12510 ssl
Go to the Sybase Open Client and Open Server bin directory:
prompt% cd $SYBASE/$SYBASE_OCS/bin
Issue the isql command to connect to the DirectConnect service:
isql -Sservicename -Uuid -Ppwd
When you are finished, stop the server and restart it. If you receive no connection errors, SSL is installed correctly.
Copyright © 2005. Sybase Inc. All rights reserved. |