I am facing an access problem when I connect to a postgres database instance on AWS/RDS. The connection is made using the library NPGSQL. Debbugging and logging, I found that the problem occurs during theauthentication. The configuration of PG_HBA made behind the curtain by RDS is set to have the password MD5 encrypted. But MD5 is not a FIPS compliant algorithm and I get the exception.
I cannot bypass FIPS compliancy because of a company domain rule. If i try to set the flag Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Lsa\FipsAlgorithmPolicy in the windows registry to 0, it is set back to 1 after a while because of this policy.
Is there a way to change the encryption method for the connection password in RDP/Postgres?
Is there a way to overcome this problem some other way, for example editing the web.config file of the application?
Thank you.