This article addresses the issue where SSL connection fails when the user password is encrypted with the scram-sha-256 method. This issue occurs on the MicroStrategy ODBC driver for PostgreSQL Wire Protocol.
Description
SSL connection fails when the user password is encrypted with the scram-sha-256 method on the Strategy ODBC driver for PostgreSQL Wire Protocol
Steps to reproduce
Create a user on the PostgreSQL database server with scram-sha-256 authentication.
Configure ssl on the PostgreSQL database.
Test ssl connection with the user in step 1 on the Windows ODBC data source. Notice that the connection fails.
Change the authentication method from scram-sha-256 to password. Notice that the ssl connection is successful.
Workaround
If scram-sha-256 authentication on PostgreSQL database is not required, use md5 or password authentication as the alternative.
Use native PostgreSQL ODBC driver, PostgreSQL Unicode (x64).