Chapter XII. Crypto Offload
•
Custom Applications
To compile custom applications using Chelsio OpenSSL library:
[root@host~]# export LD_LIBRARY_PATH=/usr/chssl/lib/
[root@host~]# gcc -g -o <server/client output file> <server/client file> -
lcrypto -lssl -L/usr/chssl/lib/
Example:
Client:
Server:
•
nginx server
i.
Download the latest stable version from
ii. Install nginx.
[root@host~]# cd nginx-x.xx.x
[root@host~]# ./configure --sbin-path=/usr/local/nginx/nginx --conf-
path=/usr/local/nginx/nginx.conf --pid-path=/usr/local/nginx/nginx.pid --
with-http_ssl_module --with-ld-opt='-L/usr/chssl/lib -L/usr/local/lib' --
with-openssl=ChelsioUwire-x.x.x.x/src/chopenssl-1.0.2d && make && make
install
iii. Configure the nginx server by updating requiresd settings in /usr/local/nginx/nginx.conf file.
iv. Load Chelsio Inline drivers and configure nginx server port as a TLS Offload port as
described in
Configure TLS Offload and TOE Ports
v. Start nginx server.
[root@host~]# cd /usr/local/nginx
[root@host~]# ./nginx
The nginx server will be TLS offloaded now.
vi. The Client can now connect to the Server and download the files.
Chelsio Unified Wire for Linux
nginx
website.
section.
208
Need help?
Do you have a question about the Terminator Series and is the answer not in the manual?
Questions and answers