The files for the sample are located in the soliddb-installdir\samples\crypto directory. For general information about running the samples, see Samples.
The sample includes two solid.ini files, in which the encryption parameters are set:
▪ The server-side solid.ini is located in samples\crypto\run
▪ The client-side solid.ini is located in samples\crypto
Running the sample
Run the runme script (runme.bat in Windows), which completes the following actions:
1 Start a server (that uses ‘tcp 2315’ as the connection string, and the user name and password of dba).
2 Read the database encryption password from the password.txt file in the run subfolder.
3 Prompt for the server connection information.
4 Connect to the server by using strong password encryption.
5 Execute SQL statements on the server that create a table, add and select rows from the table, and drop the table.
6 Stop the server.
Note The OpenSSL crypto libraries (libcrypto-ver-x64.dll, libssl-ver-x64.dll) that are included in the sample are for sample testing only. They are provided as is and are not supported by UNICOM Systems, Inc.