Home / Companies / Neon / Blog / Post Details
Content Deep Dive

MITM attacks are easier to avoid with psql (Postgres) 16

Blog post from Neon

Post Details
Company
Date Published
Author
George MacKerron
Word Count
1,868
Company Posts That Month
6
Language
English
Hacker News Points
-
Post removed?
No
Summary

The blog post discusses the enhanced security features introduced in Postgres 16, particularly focusing on the psql client’s ability to establish secure connections to Neon databases. It highlights the introduction of the `sslrootcert=system` option, which simplifies securing connections by using the trusted CA certificates built into the operating system, ensuring both encryption and authentication. The article emphasizes the inadequacies of the `sslmode=require` setting, which, despite encrypting the connection, fails to authenticate the server, making it vulnerable to man-in-the-middle (MITM) attacks. The author demonstrates the ease of conducting such attacks through DNS spoofing and explains the importance of using `sslmode=verify-full` alongside trusted CA certificates for robust security. The text encourages users to adopt the new settings to mitigate security risks and outlines steps for ensuring secure connections across different platforms and Postgres versions.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 1 2,496 566 185 +13%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.