5000 to 5999
Encryption Status Codes
This section lists status codes you can receive when using the Wire Encryption feature. In Advanced Operations Guide, see PSQL Security for more information about the Wire Encryption feature and other PSQL security topics.
5000: Client requires encryption
Your client configuration setting for Wire Encryption is set to Always, and the server to which you are trying to connect either has a Wire Encryption setting of Never, or the server has a version of less than 8.50 which does not support the Wire Encryption feature.
To resolve this condition, either change the Wire Encryption setting of the client to If Needed or change the Wire Encryption setting of the server to Always or If Needed.
To change the Wire Encryption setting:
You can also use the bcfg command-line utility (see Configuration Through CLI Utility in Advanced Operations Guide).
*Note: On any one machine, the PSQL server and client share a single Wire Encryption setting.
5001: Server requires encryption
Your client configuration setting for Wire Encryption is set to Never, and the server to which you are trying to connect has a Wire Encryption setting of Always.
To resolve this condition, change the Wire Encryption setting of the client to If Needed or Always.
To change the Wire Encryption setting:
You can also use the bcfg command-line utility (see Configuration Through CLI Utility in Advanced Operations Guide).