Discussion:
host & hostssl entries in single pg_hba.conf
(too old to reply)
A.Bhuvaneswaran
2004-04-12 12:00:53 UTC
Permalink
Hi,

I am using pgsql 7.3.4 on rh linux 7.3.

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?

Isn't it possible to have host & hostssl entry in single pg_hba.conf ?

TIA.
--
Regards,
A.Bhuvaneswaran
Systems Engineer
Tom Lane
2004-04-12 13:53:52 UTC
Permalink
Post by A.Bhuvaneswaran
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

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ***@postgresql.org so that your
message can get through to the mailing list cleanly

Loading...