cd /news/ai-tools/ask-hn-two-specific-postgres-encrypt… · home topics ai-tools article
[ARTICLE · art-36250] src=news.ycombinator.com ↗ pub= topic=ai-tools verified=true sentiment=· neutral

Ask HN: Two specific Postgres encrypt questions

A Hacker News user asks for recommendations on encrypting PostgreSQL data at rest without purchasing software, and whether the PEM passphrase must be retained after configuring TLS/SSL.

read1 min views1 publishedJun 22, 2026

HN, (A) What are the recommended ways to encode Postrgres data at rest (tables+indexes+rows)? The Postgres documentation suggests options [0], but I have no familiarity with any. I prefer to not purchase something.

(B) When configuring Postgres with TLS/SSL, one needs to make private keys [1] which can lead to a prompt for a PEM pass phrase. Once all done with Postgres running, do I need to retain the PEM passkey? (The private key itself needs to be retained, of course).

[0] https://www.postgresql.org/docs/18/encryption-options.html

[1] openssl genrsa -aes256 -out Enter PEM pass phrase: ...

Comments URL: [https://news.ycombinator.com/item?id=48626895](https://news.ycombinator.com/item?id=48626895)

Points: 1

── more in #ai-tools 4 stories · sorted by recency
── more on @postgresql 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/ask-hn-two-specific-…] indexed:0 read:1min 2026-06-22 ·