client ssl

Started by Diana Cionoiualmost 25 years ago3 messagesgeneral
Jump to latest
#1Diana Cionoiu
diana@softwaresolutions.ro

Good day ppl,
I'm sorry if my question is a little bit stupid but, i have search already
an answer on Internet.
I have start postgres 7.1 with ssl suport with out any problems, i have
set on pg_hda.conf like this:

#local all trust
hostssl all 127.0.0.1 255.255.255.255 trust
#host all 127.0.0.1 255.255.255.255 trust

and i have try
psql -h 127.0.0.1 teste
what is working if i set
host all 127.0.0.1 255.255.255.255 trust
So what's hapening, why psql cannot connect to postgres, it dosen't
support ssl or what???

Thanks alot for reading this.

Diana

P.S. I apologise for my english.

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Diana Cionoiu (#1)
Re: client ssl

Diana Cionoiu writes:

#local all trust
hostssl all 127.0.0.1 255.255.255.255 trust
#host all 127.0.0.1 255.255.255.255 trust

and i have try
psql -h 127.0.0.1 teste
what is working if i set
host all 127.0.0.1 255.255.255.255 trust
So what's hapening, why psql cannot connect to postgres, it dosen't
support ssl or what???

Is there any response from any program when you try to do connect via SSL?

--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter

#3Diana Cionoiu
diana@softwaresolutions.ro
In reply to: Peter Eisentraut (#2)
Re: client ssl

#local all trust
hostssl all 127.0.0.1 255.255.255.255 trust
#host all 127.0.0.1 255.255.255.255 trust

and i have try
psql -h 127.0.0.1 teste
what is working if i set
host all 127.0.0.1 255.255.255.255 trust
So what's hapening, why psql cannot connect to postgres, it dosen't
support ssl or what???

Is there any response from any program when you try to do connect via SSL?

psql: No pg_hba.conf entry for host 127.0.0.1, user postgres, database
teste

witch is i don't understand.
Thanks alot for aswering me.

Diana CIonoiu