When encrypting the communication data, the same environment settings as when using the C library (libpq) are required.
Refer to "5.2.3 Settings for Encrypting Communication Data" in "C Library (libpq)" for information on the environment settings for the C library.