News for hackers. Stuff that matters.
Re:MitM-ing Postgres by merb on Tuesday June 14, 2016 @04:13PM (#11904979)
he is not incorrect. if you are on a secure network you can stick with the default i.e. a aws network could be secure.
Re:MitM-ing Postgres by agwa on Tuesday June 14, 2016 @04:26PM (#11905056)
tajen advocated a CA-issued certificate along with the "require" option, which makes sense under no common scenario. If your network really is secure, you don't need TLS at all, so you can use "disable" and not bother with a cert. If your network isn't secure, then you need "verify-full" to actually have security.
Re:MitM-ing Postgres by merb on Tuesday June 14, 2016 @05:10PM (#11905339)
actually i just wanted to point that out. actually on aws you actually connect with ssl when you have an rds instance and using psql on a ec2 instance. however it will run with "prefer". which isn't really needed there.
Re:MitM-ing Postgres by tinus_hn on Wednesday June 15, 2016 @08:38AM (#11908894)
If you consider the Internet a secure network you can. Note that unless you connect to IP addresses you still need to do host name resolution which typically involves the Internet and if the Internet is considered insecure, may return answers controlled by an attacker..

I'd suggest avoiding shortcuts and using certificates.