Обсуждение: client ssl

Поиск
Список
Период
Сортировка

client ssl

От
Diana Cionoiu
Дата:
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

От
Peter Eisentraut
Дата:
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

От
Diana Cionoiu
Дата:
> > #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