How to resolve 'FATAL: no pg.hba.conf entry for host' exception while establishing a jdbc ssl connection to a postgres db?
Issue
- Following exception has been faced while establishing a
jdbc sslconnection to apostgresdb?
FATAL: no pg.hba.conf entry for host xxx.xxx.xxx.xxx ...
Environment
-
Red Hat JBoss Enterprise Application Platform 6.x
-
PostgreSQL 9.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
