Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gWjP0-0004uO-4B for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Dec 2018 14:52:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gWjOx-0002bo-L3 for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Dec 2018 14:52:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gWjOx-0002bh-Am for pgsql-hackers@lists.postgresql.org; Tue, 11 Dec 2018 14:52:47 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gWjOt-0001th-SD for pgsql-hackers@postgresql.org; Tue, 11 Dec 2018 14:52:46 +0000 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 224CF307D850 for ; Tue, 11 Dec 2018 14:52:42 +0000 (UTC) Received: from p50.tole.es (ovpn04.gateway.prod.ext.ams2.redhat.com [10.39.146.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id D696019940 for ; Tue, 11 Dec 2018 14:52:41 +0000 (UTC) Received: from redhat.com (localhost [127.0.0.1]) by p50.tole.es (Postfix) with SMTP id 04821632FF for ; Tue, 11 Dec 2018 15:52:41 +0100 (CET) Date: Tue, 11 Dec 2018 15:52:40 +0100 From: Pablo Iranzo =?iso-8859-1?Q?G=F3mez?= To: pgsql-hackers@postgresql.org Subject: Re: Introducing SNI in TLS handshake for SSL connections Message-ID: <20181211145240.GL20222@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TdMwOTenGjBWB1uY" Content-Disposition: inline X-OS: Linux p50.tole.es 4.19.2-301.fc29.x86_64 x86_64 User-Agent: Mutt/1.10.1 (2018-07-13) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Tue, 11 Dec 2018 14:52:42 +0000 (UTC) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --TdMwOTenGjBWB1uY Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, > On 4/24/17 22:26, Florin Asavoaie wrote: > > If there's nobody against this, I can try to do the patch myself, > > doesn't look too difficult (I expect it to simply work by > > calling SSL_set_tlsext_host_name(SSL_context, PQhost(conn))) somewhere > > in initialize_SSL in fe-secure-openssl.c. >=20 > I had to look up what SNI is: > https://en.wikipedia.org/wiki/Server_Name_Indication >=20 > This seems useful. >=20 > If you have a patch, please add it here: > https://commitfest.postgresql.org/14/ >=20 > --=20 > Peter Eisentraut http://www.2ndQuadrant.com/ > PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services I came to this old thread while trying to figure out on how to setup postgr= es replication behind OpenShift/Kubernetes behind a route (which only forwa= rds 80 or 443 traffic), but could work if SNI is supported on the client us= ing it. I haven't found any further follow-up on this, but based on the number of p= osts and questions on many sites on accessing postgres on OpenShift/Kuberne= tes it could be something good to have supported. Any further information or plans? Thanks, Pablo --=20 Pablo Iranzo G=F3mez (Pablo.Iranzo@redhat.com) GnuPG: 0x5BD8E1E4 Senior Software Engineer - Solutions Engineering iranzo @ IRC RHC{A,SS,DS,VA,E,SA,SP,AOSP}, JBCAA #110-215-852 RHCA Level V Blog: https://iranzo.github.io https://citellus.org --TdMwOTenGjBWB1uY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABEIAB0WIQSMbBIbTuHKBQnMP5gDSCNmW9jh5AUCXA/POAAKCRADSCNmW9jh 5I4XAP4k2j3ov7zOfFQofa9yHjZgSAB+9syXnBsnMG998GOzRAD+M54/kwEcyY0z 9LEsbi3XUA2lQ8KO35bbcKDpcerQqgM= =Ehd6 -----END PGP SIGNATURE----- --TdMwOTenGjBWB1uY--