See
Refer to the following sections in the Application Development Guide for details, depending on your application development environment:
"Settings for Encrypting Communication Data" under "Setup" in "JDBC Driver"
"Settings for Encrypting Communication Data" under "Setup" in "C Library (libpq)"
"Settings for Encrypting Communication Data" under "Setup" in "Embedded SQL in C"