Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
JSCHRANZ
Contributor II
Contributor II

PostgreSQL "trusted" IPs prerequisite

Hi,

We are integrating Qlik Replicate with PostgreSQL as source.
The documentation states that we should list 'trusted' IPs in PostgreSQL’s "pg_hba.conf" file, but it doesn’t appear to be required for actual use. Why is this mentioned?
https://help.qlik.com/en-US/replicate/May2025/Content/Replicate/Main/PostgreSQL/prereq_postgresql_so...

Thank you for your returns

Labels (1)
1 Solution

Accepted Solutions
john_wang
Support
Support

Hello @JSCHRANZ ,

Thanks for the update. This is just a sample of a pg_hba.conf configuration. For general user access— especially over the open internet you should never use trust. Password-based authentication (or stronger) is strongly recommended; for example, MD5 works well with Qlik Replicate.

Regards,

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!

View solution in original post

3 Replies
john_wang
Support
Support

Hello @JSCHRANZ ,

Adding the trusted IP addresses to PostgreSQL’s "pg_hba.conffile is mandatory. Otherwise, you may encounter an error like the following:

[SOURCE_CAPTURE ]E: Could not connect to the server: FATAL: no pg_hba.conf entry for replication connection from host "192.168.1.212", user "postgres", SSL off [1020452]

Where "192.168.1.212" is Replicate Server IP Address. This configuration is required by PostgreSQL itself.

Hope this helps.

John.

 

 

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!
JSCHRANZ
Contributor II
Contributor II
Author

Hi,

thank you for your reply.
I understand the need to declare our IPs, but why should we "trust" them without any authentication to secure the access?
The given sample is:

host replication all 176.123.1.212/32 trust

 

john_wang
Support
Support

Hello @JSCHRANZ ,

Thanks for the update. This is just a sample of a pg_hba.conf configuration. For general user access— especially over the open internet you should never use trust. Password-based authentication (or stronger) is strongly recommended; for example, MD5 works well with Qlik Replicate.

Regards,

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!