Setting up SSL on the server (for Windows)  Setting up SSL on the server (for UNIX)

Chapter 5: Setting up SSL and a Windows Service

Configuring the SSL Windows client (for Windows)

StepsTo configure the client environment to use SSL

  1. Set the client Sybase Window variable:

    set SYBASE=c:\sybase
    
  2. Go to the %SYBASE%\ini directory:

    C:\sybase\OCS-12_5\bin>cd %SYBASE%\ini
    
  3. Copy the trusted.txt file to the %SYBASE%\.ini directory:

    C:\sybase\ini>copy 
    C:\sybase\OCS-12_5\bin\trusted.txt %SYBASE%\ini
    
  4. Edit the sql.ini file and append the SSL entry to the Master and Query entries for the DirectConnect services:

    C:\sybase\ini>notepad sql.ini
    
    [server name]
    Master = NLWNSCK, machine name, port ssl
    Query = NLWNSCK, machine name, port ssl
    
  5. Go to the Sybase Open Client and Open Server bin directory:

    cd %SYBASE%\%SYBASE_OCS%\bin 
    
  6. Issue the isql command to connect to the service:

    isql -Sservice name -Uuid -Ppwd
    
  7. When you are finished, stop the server and restart it. If you receive no connection errors, SSL is installed correctly.

For testing, Sybase recommends that you use ssldump to examine SSL handshakes. You can find this free utility.





Copyright © 2005. Sybase Inc. All rights reserved. Setting up SSL on the server (for UNIX)

View this book as PDF