pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: andy@freeborough.com
Subject: 19.9. Secure TCP/IP Connections with SSL
Date: Wed, 25 Oct 2023 15:44:04 +0000
Message-ID: <169824864406.1769272.17694794243729037089@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/ssl-tcp.html
Description:

There is no mention of key lengths on the manual page about SSL/TLS
connections even though there are restrictions.  It probably depends on the
build which is why it's been omitted, but I think to help new people it
would be great to have a Note box that covers key lengths restrictions.  It
came up on reddit today and while the following is in the error log..

   FATAL:  could not load server certificate file
"/etc/postgresql/16/main/server.crt": ee key too small

It is amongst a chain of other messages and has a long line such that it
could be missed as it's truncated (though it should still have been spotted
of course).  Regardless, I like the idea of all the things you need to do/be
mindful of being in the manual.  It could be something like..

Note
Some builds of PostgreSQL specify a minimum key length for certificates to
enforce best-practices.  If the key you use is does not meet or exceed this
minimum length PostgreSQL will fail to start.  It's common practice to
require a key of at least length 2048.


view thread (2+ messages)  latest in thread

Message-ID: <169824864406.1769272.17694794243729037089@wrigleys.postgresql.org>
Permalink:  ../169824864406.1769272.17694794243729037089@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/169824864406.1769272.17694794243729037089@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, andy@freeborough.com
  Subject: Re: 19.9. Secure TCP/IP Connections with SSL
  In-Reply-To: <169824864406.1769272.17694794243729037089@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox