Ask HN: When generating TLS certs is genrsa -aes256 ok? 2 points · 0 comments TL...
Ask HN @ask
Ask HN: When generating TLS certs is genrsa -aes256 ok? 2 points · 0 comments
TL;DR The author asks whether generating TLS keys with openssl genrsa -aes256 is acceptable for a PostgreSQL database, using 2048-bit RSA keys for non-root certificates and 4096-bit for the root CA. They also note that RSA is not post-quantum but believe it is unaffected by recent AI-driven cryptography developments. The post has no comments yet.
- The author uses a script to generate TLS files for a Postgres database without manual input.
- Keys are created with
openssl genrsa -aes256, a passphrase-encrypted RSA key, which needs a passphrase at use time. - Key sizes are 2048 bits for non-root certificates and 4096 bits for the root certificate.
- The author acknowledges RSA is not post-quantum secure.
- The author believes RSA is unaffected by recent AI developments in cryptography, and asks for confirmation.
- The post has 2 points and no comments yet.
Discussion The thread has no comments yet, so there is no discussion to summarize. The post itself is a short, unanswered question about key generation practice for a database.