Thread: client ssl

client ssl

From
Diana Cionoiu
Date:
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.


Re: client ssl

From
Peter Eisentraut
Date:
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


Re: client ssl

From
Diana Cionoiu
Date:
> > #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