[GENERAL] SSL auth problem

2008-05-16 Thread Vitaliyi
> It does not cause an error, but omit -text. done > Did you make sure that postgresql.key has permissions 0600? of course. otherwise it shows warning >> files on postgresql server: >> server.key (priv and pub keys) > > Did you make sure that server.key has permissions 0600? yes >

Re: [GENERAL] SSL auth problem

2008-05-16 Thread Vitaliyi
>> don't know where it looking for "root.crl", but it is in directory >> with root.crt and server.key, server.crt > > That should be harmless... removed root.crl. the same effect > Let me reexamine your original mail: > >> generating another key on server: > [...] >> signing on CA: >> openssl req

[GENERAL] SSL auth problem

2008-05-15 Thread Vitaliyi
Good Day I'm trying to setup SSL auth. creating CA: openssl genrsa -out our.key 2048 openssl req -new -key our.key -out our.req openssl req -x509 -in our.req -text -key our.key -out root.crt then I copy root.crt on postgresql host and to client host in ~/.postgresql generating another key on s

[GENERAL] Problem with encoding (lower() doesn't work)

2007-04-23 Thread Vitaliyi
Steps : export LANG=ru_RU.KOI8-r (locale was set properly) initdb createdb -E WIN tst psql tst < tsearch2.sql psql tst : SET client_encoding to KOI8; create table tst (name text, v tsvector); insert .. update tst set v = to_tsvector(lower(nm)); and i've got capitalized russian text in v (vec