Re: [PATCH] Log details for client certificate failures
Jacob Champion <pchampion@vmware.com>
From: Jacob Champion <pchampion@vmware.com>
To: "peter.eisentraut@enterprisedb.com" <peter.eisentraut@enterprisedb.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2022-05-12T22:36:01Z
Lists: pgsql-hackers
Attachments
- since-v1.diff.txt (text/plain)
- v2-0001-Log-details-for-client-certificate-failures.patch (text/x-patch) patch v2-0001
On Thu, 2022-05-05 at 15:12 +0000, Jacob Champion wrote: > On Wed, 2022-05-04 at 15:53 +0200, Peter Eisentraut wrote: > > In terms of aligning what is printed, I meant that pg_stat_ssl uses the > > issuer plus serial number to identify the certificate unambiguously. > > Oh, that's a great idea. I'll do that too. v2 limits the maximum subject length and adds the serial number to the logs. Thanks! --Jacob
Commits
-
Fix tiny memory leaks
- a9d58bfe8a3a 16.0 landed
-
Don't reflect unescaped cert data to the logs
- 257eb57b50f7 16.0 landed
-
pg_clean_ascii(): escape bytes rather than lose them
- 45b1a67a0fcb 16.0 landed
-
Log details for client certificate failures
- 3a0e385048ad 16.0 landed