From: Christopher Head <chris2k01@hotmail.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #5868: Client ignores X.509 subject alternative name
Date: Mon, 7 Feb 2011 08:44:03 GMT
Message-ID: <201102070844.p178i3LP073118@wwwmaster.postgresql.org> (raw)
The following bug has been logged online:
Bug reference: 5868
Logged by: Christopher Head
Email address: chris2k01@hotmail.com
PostgreSQL version: 9.0.1
Operating system: Linux amd64
Description: Client ignores X.509 subject alternative name
Details:
This is more of a wishlist/feature-request than an actual bug. The X.509v3
certificate standard allows an extension field called the "subject
alternative name". This field can contain a list of names that should be
considered as legitimate names for the entity to which the certificate
belongs. Specifically, if an alternative name is of the form
"DNS:some.domain.name.tld", then the certificate should be treated as though
legitimate for the domain "some.domain.name.tld", just as if that domain
were in the common name field of the subject distinguished name. Right now,
the psql client (probably libpq) doesn't look at this certificate extension;
rather, it only checks if the subject distinguished name common name field
matches the requested hostname. It would be nice if the alternative names
could be checked also (modern Web browsers all seem to check the extension
fine when using the certificate for HTTPS). What this allows is for the
common name to have a human-readable name instead of a hostname, with the
hostnames stuffed into the alternative names list. While this is pretty much
irrelevant for PostgreSQL connections, when sharing a certificate with a Web
server, browsers will show the human-readable distinguished name, which is
nice. Therefore, it would be preferable for the PostgreSQL clients to also
honour this field.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: chris2k01@hotmail.com
Subject: Re: BUG #5868: Client ignores X.509 subject alternative name
In-Reply-To: <201102070844.p178i3LP073118@wwwmaster.postgresql.org>
References: <201102070844.p178i3LP073118@wwwmaster.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