X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id DE05ED1B486 for ; Mon, 12 Apr 2004 10:54:04 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 95889-01 for ; Mon, 12 Apr 2004 10:53:55 -0300 (ADT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id DF58CD1DB87 for ; Mon, 12 Apr 2004 10:53:49 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i3CDrr2n009519; Mon, 12 Apr 2004 09:53:53 -0400 (EDT) To: "A.Bhuvaneswaran" Cc: pgsql-admin@postgresql.org Subject: Re: host & hostssl entries in single pg_hba.conf In-reply-to: <1081771252.1514.4.camel@Bhuvan.bksys.co.in> References: <1081771252.1514.4.camel@Bhuvan.bksys.co.in> Comments: In-reply-to "A.Bhuvaneswaran" message dated "Mon, 12 Apr 2004 17:30:53 +0530" Date: Mon, 12 Apr 2004 09:53:52 -0400 Message-ID: <9518.1081778032@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/190 X-Sequence-Number: 13163 "A.Bhuvaneswaran" writes: > I wish to have host & hostssl entries in single pg_hba.conf file. If ssl > is set to true in postgresql.conf, even though we have host entry in > pg_hba.conf, ssl connection is established. Is it a bug or am i doing > something wrong? That is the intended behavior. In 7.4 you can control from the client side whether libpq will try SSL or non-SSL first, but AFAIR the 7.3 client will always try SSL first if enabled. regards, tom lane