Denis
01/15/2025, 6:01 PMkafkatopostgresqlv2 with password changemetoo
This is the error I get:
"error: pg_hba.conf rejects connection for host "10.42.0.106", user "kafkatopostgresqlv2", database "umh_v2", SSL off"
And with SSL enabled:
Error: self signed certificate
Does anyone see what I'm doing wrong?
https://cdn.discordapp.com/attachments/984083100520808478/1329148549358948382/image.png?ex=6789498c&is=6787f80c&hm=bb38503ce45339b7ff7c35885f7dad0a194c9b98c2d56b4e2ab6d7b24fa6e0f0&Denis
01/15/2025, 6:03 PMlocalhost as wellJermuk
01/15/2025, 6:36 PMJermuk
01/15/2025, 6:37 PMJermuk
01/15/2025, 6:39 PMDanielH
01/15/2025, 7:02 PMricardo_maestas
01/15/2025, 11:07 PMricardo_maestas
01/16/2025, 12:10 AMpg_hba:
- local all postgres peer
- hostnossl umh_v2 kafkatopostgresqlv2 0.0.0.0/0 md5
- host all postgres,standby 0.0.0.0/0 reject
- host all postgres,standby ::0/0 reject
- hostssl all all 0.0.0.0/0 md5
- hostssl all all ::0/0 md5
- hostnossl all all 0.0.0.0/0 reject
- hostnossl all all ::0/0 reject
The second line contains the fix, and it must be the 2nd item because the rules are enforced top to bottom.
https://cdn.discordapp.com/attachments/1329148549593563180/1329241198380056666/Screenshot_2025-01-15_at_17.07.42.png?ex=67899fd5&is=67884e55&hm=205531ab51724347f6bed736a8257e54d8c968884d301dcb63dc1dc425368382&DanielH
01/16/2025, 8:27 AMJermuk
01/16/2025, 9:06 AMJermuk
01/16/2025, 9:06 AMkrgrsebastian
01/20/2025, 8:21 AMDenis
01/20/2025, 8:43 AM