The “SCRAM authentication requires libpq version 10 or above” error when installing Kaspersky Scan Engine
This article concerns:
- Kaspersky Scan Engine 2.0
- Kaspersky Scan Engine 1.0
Issue
When installing Kaspersky Scan Engine for Windows, you can encounter the "SCRAM authentication requires libpq version 10 or above” error.
Cause
The default password encryption mechanism has been changed in PostgreSQL 13 database management system. The initial postgres user that was created during the PostgreSQL installation has a password encrypted with the scram-sha-256 algorithm. This algorithm is not supported by Kaspersky Scan Engine for Windows.
Solution
We recommend that you use PostgreSQL version 11 or 12.
If you cannot use the recommended versions, configure the supported password encryption mechanism in PostgreSQL. Instructions for the following installation scenarios:
The changes will affect the entire PostgreSQL cluster and other applications that use the cluster.
If you use the Installation using the installer (Windows) scenario
- Open the psql console. To do so, click Start → Postgres 13 → SQL shell.
- Log in to the local cluster and run the command:
- Update the password of the postgres user by running the following command:
- To make sure that the password is saved using the supported algorithm, run the command:
- A line with the encrypted password will appear. The line starts with MD5, for example: md533a9a79ffee1cc8bf4fbc63f24518e44.
- Close the psql console. To do so, run the command:
- Start the Kaspersky Scan Engine installation once again.
If you use the Manual installation (Windows) scenario
- Follow the steps 1–2 described in the Enabling Kaspersky Scan Engine GUI section of Online Help.
- Run the following command:
- Follow the steps 3–12 described in the Enabling Kaspersky Scan Engine GUI section of Online Help.