How to overcome database connection failure for Postgres DB collectors in RSA Via Lifecycle and Governance
Originally Published: 2016-06-27
Last Modified: 2023-10-06
Article Number
Applies To
RSA Version/Condition: All Versions
Platform: Linux
O/S Version: Red Hat Enterprise Linux 6.8
Issue
Caused by: org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "<IP address of host>", user "rbacxintegration", database "infosecdata", SSL off at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:415) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:188)
Cause
Resolution
# TYPE DATABASE USER CIDR-ADDRESS METHOD
host all all 0.0.0.0/0 md5
You need to enter the IP address of the computer on which your application is running. For example, if your IP address is 192.168.123.250, enter it in pg_hba.conf as 192.168.123.0. The .0 acts a wildcard in case your computer is assigned a new IP address at a later time (hopefully it will be in the same range as the original.)
Once the above line is added in pg_hba.conf, PostgreSQL needs to be restarted using the command:
/etc/init.d/postgresql restart
Related Articles
RSA Authentication Manager 8.6 Patch 2 Readme 32Number of Views SecurID Governance & Lifecycle 7.5.2 Patch 10 Release Notes 27Number of Views RSA Announces RSA Authentication Agent 2.0.1 for Microsoft AD FS Support for Windows Server 2019 18Number of Views RSA MFA Agent for Windows Platform Support Matrix 28Number of Views RSA Authentication Manager 8.4 Administrator's Guide 48Number of Views
Trending Articles
Artifacts to gather in RSA Identity Governance & Lifecycle How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device How to Update the Root (Server) and Client Certificates in RSA Identity Governance & Lifecycle Troubleshooting AFX Connector issues in RSA Identity Governance & Lifecycle RSA MFA Agent for UNIX Platform Support Matrix
Don't see what you're looking for?