Re: pgsql: Allow matching the DN of a client certificate for authentication

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Allow matching the DN of a client certificate for authentication
Date: 2021-04-01 21:44:49
Message-ID: BFFA1D8B-3D33-454B-A0D5-BF72E0F7895C@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

> On 29 Mar 2021, at 21:50, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>
> Allow matching the DN of a client certificate for authentication

A small typo snuck in with this commit:

diff --git a/src/test/ssl/Makefile b/src/test/ssl/Makefile
index 0d6d237e7c..ecc3fe1f2e 100644
--- a/src/test/ssl/Makefile
+++ b/src/test/ssl/Makefile
@@ -235,7 +235,7 @@ ssl/client.crt: ssl/client.key ssl/client_ca.crt
rm ssl/client.csr ssl/temp.crt

-# Client certificate with multi-parth DN, signed by the client CA:
+# Client certificate with multi-part DN, signed by the client CA:
ssl/client-dn.crt: ssl/client-dn.key ssl/client_ca.crt
openssl req -new -key ssl/client-dn.key -out ssl/client-dn.csr -config client-dn.config
openssl ca -name client_ca -batch -out ssl/temp.crt -config cas.config -infiles ssl/client-dn.csr

--
Daniel Gustafsson https://vmware.com/

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-04-01 21:55:26 pgsql: Rethink handling of pass-by-value leaf datums in SP-GiST.
Previous Message Stephen Frost 2021-04-01 19:32:29 pgsql: Rename Default Roles to Predefined Roles