pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hehe88hk@yahoo.com.hk
To: pgsql-admin@postgresql.org
Subject: forcing SSL
Date: 14 Feb 2004 11:13:05 -0800
Message-ID: <f2ccb7a1.0402141113.74e7fe11@posting.google.com> (raw)

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



view thread (2+ messages)  latest in thread

Message-ID: <f2ccb7a1.0402141113.74e7fe11@posting.google.com>
Permalink:  ../f2ccb7a1.0402141113.74e7fe11@posting.google.com/
Also on:    postgresql.org/message-id/f2ccb7a1.0402141113.74e7fe11@posting.google.com

 · 

reply

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-admin@postgresql.org
  Cc: hehe88hk@yahoo.com.hk
  Subject: Re: forcing SSL
  In-Reply-To: <f2ccb7a1.0402141113.74e7fe11@posting.google.com>
  References: <f2ccb7a1.0402141113.74e7fe11@posting.google.com>

* 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