Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a4Ezw-0005sS-RY for pgsql-jdbc@arkaria.postgresql.org; Wed, 02 Dec 2015 21:31:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a4Ezw-00010U-AD for pgsql-jdbc@arkaria.postgresql.org; Wed, 02 Dec 2015 21:31:36 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a4Ezv-00010L-N9 for pgsql-jdbc@postgresql.org; Wed, 02 Dec 2015 21:31:35 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1a4Ezs-0002ot-Ob for pgsql-jdbc@postgresql.org; Wed, 02 Dec 2015 21:31:34 +0000 Received: by wmvv187 with SMTP id v187so275505442wmv.1 for ; Wed, 02 Dec 2015 13:31:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=VS0HK1TMHSYcFGEu1uY0R7PFb7wJ5+w+NPYUKXD6TYM=; b=XgJK5JYIwsSjndKBI8DjCgGwL3dkSU8hv1XJ9rszGh7Wa8Blq117P1QMYzN490/feO jZ0E5Z47WfqtBK+RLuVDGHj2NjOnNNEeZVPnK0B+ECIl51auSFJuUj/UqH6wvPaUGoxo RRkMDf3Ns/Vg4zwZL7CXD9crG/zOdQnN82y8yA/JvHGx60tRr0QnIhY6pBm763M+iJHE oAqhwvmB6tmxD4rVKoxbg0lVrY3+YC68J87X++otl4/nxIo4Odj0CrLwK00usQgYFGtB bUL8PuX6gtOG+KR8hmHWRpdKITUDjJcRNI6NwBfrFhExTHFcIrwW+AODfpYrVfR0/sG/ eO+w== X-Received: by 10.194.79.201 with SMTP id l9mr7949395wjx.151.1449091891232; Wed, 02 Dec 2015 13:31:31 -0800 (PST) Received: from [192.168.1.66] (123.209.115.89.rev.vodafone.pt. [89.115.209.123]) by smtp.gmail.com with ESMTPSA id jm4sm4533637wjb.7.2015.12.02.13.31.29 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Dec 2015 13:31:30 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_50E7B875-AB12-4C2F-9EE1-CB05A17E4FD8" Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: user can't access own database after creation From: Nuno Zimas In-Reply-To: <565F61A1.2050802@hogranch.com> Date: Wed, 2 Dec 2015 21:31:29 +0000 Cc: pgsql-jdbc@postgresql.org Message-Id: References: <25B91293-CCF8-42D9-B4ED-19DF36AA881C@gmail.com> <565F4D26.1050501@hogranch.com> <0C62C048-16A6-4BAD-84BD-3570A1063DC1@gmail.com> <565F56E8.8020402@hogranch.com> <573F2464-91B2-465A-9124-F3146DC736C9@gmail.com> <565F61A1.2050802@hogranch.com> To: John R Pierce X-Mailer: Apple Mail (2.3096.5) X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org --Apple-Mail=_50E7B875-AB12-4C2F-9EE1-CB05A17E4FD8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 2 Dec 2015, at 21:24, John R Pierce wrote: >=20 > On 12/2/2015 1:00 PM, Nuno Zimas wrote: >>>=20 >>> what does the pg_hba.conf file look like on the ubuntu server ? >>=20 >>=20 >> You can see the file contents here: >> http://pastebin.com/vYQMsP27 >=20 > these three lines, > host all all 78.47.104.116/32 = trust > host all all 62.210.69.197/32 = trust > host all all 10.10.10.99/32 trust >=20 >=20 > they state that anyone on those 3 hosts can connect as any postgres = user including the superuser 'postgres' without any authentication = required at all >=20 That=E2=80=99s pretty much the intended behaviour at this point. As far as SSL goes, it really doesn=E2=80=99t make any difference. I=E2=80=99ve tried adding ?ssl=3Dtrue and ?ssl=3Dfalse to the jdbc URL = with no success. > . > Also, I see nothing in there about SSL. >=20 > --=20 > john r pierce, recycling bits in santa cruz --Apple-Mail=_50E7B875-AB12-4C2F-9EE1-CB05A17E4FD8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On = 2 Dec 2015, at 21:24, John R Pierce <pierce@hogranch.com>= wrote:

=20 =20
On 12/2/2015 1:00 PM, Nuno Zimas = wrote:

what does the pg_hba.conf file look like on the ubuntu server ?


You can see the file contents here:


these three lines,
  1. host    all             all   =           78.47.104.116/32         =   trust
  2. host    all             all   =           62.210.69.197/32         =   trust
  3. host    all             all   =           10.10.10.99/32         =   trust


they state that anyone on those 3 hosts can connect as any postgres user including the superuser 'postgres' without any authentication required at all

That=E2=80=99s pretty much the = intended behaviour at this point.
As far as SSL goes, it = really doesn=E2=80=99t make any difference.
I=E2=80=99ve tried = adding ?ssl=3Dtrue and ?ssl=3Dfalse to the jdbc URL with no = success.


.
Also, I see nothing in there about SSL.

--=20
john r pierce, recycling bits in santa cruz

= --Apple-Mail=_50E7B875-AB12-4C2F-9EE1-CB05A17E4FD8--