How to resolve 'FATAL: no pg.hba.conf entry for host' exception while establishing a jdbc ssl connection to a postgres db?

Solution Unverified - Updated -

Issue

  • Following exception has been faced while establishing a jdbc ssl connection to a postgres db?
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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.