Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

FATAL: no pg_hba.conf entry for host



Pega 7.4 is installed on the AWS Cloud environment and the database configured is AWS Relational Database Services (RDS) PostgreSQL 9.6.3. The schema is created using Data Definition Language (DDL) scripts. However, error occurs and script fails.

Error Messages

/app/Pega/scripts/setupDatabase.xml:1467: Failed to connect using provided properties. FATAL: no pg_hba.conf entry for host "", user "pega_cloud_stg_master", database "pega_cloud_stg_master", SSL off

Steps to Reproduce

  1. Provision AWS PostgreSQL 9.6.3 RDS.
  2. Install Pega 7.4 application using the script.

Root Cause

This behavior is as per Pega product design.


Here's the explanation for the reported behavior:

PostgreSQL parameters are required for used by the script in an AWS environment. AWS does not manually update the pg_hba.conf file as outlined in the Pega 7.4 Installation Guide. Additionally, SSL must be reenabled.

Update the file as below.



Published October 17, 2018 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us