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 225E6D1B4DE for ; Sat, 14 Feb 2004 19:16:58 +0000 (GMT) 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 04364-07 for ; Sat, 14 Feb 2004 15:16:55 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id C612FD1B4B5 for ; Sat, 14 Feb 2004 15:16:55 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i1EJGt1Y022917 for ; Sat, 14 Feb 2004 19:16:55 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i1EJD5eH022541 for pgsql-admin@postgresql.org; Sat, 14 Feb 2004 19:13:05 GMT From: hehe88hk@yahoo.com.hk (Eric) X-Newsgroups: comp.databases.postgresql.admin Subject: forcing SSL Date: 14 Feb 2004 11:13:05 -0800 Organization: http://groups.google.com Lines: 15 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/214 X-Sequence-Number: 12388 In order to ensure all user are making SSL connection to the database, in the file pg_hba.conf, I change all the first columns into "hostssl" such that there is neither "host" nor "local" left. However, when I try to use a program written in Tcl to access the database, even without the option "requiressl=1" for "pg_connect", the program can still make connection to the database. (With the option "requiressl=1" present for "pg_connect", my program can also connect the database successfully) May I know what the problem is and how to ensure incoming SSL connection? Thank you