error on launching postgres in ssl mode

From: "Luca Stancapiano" <l(dot)stancapiano(at)k-tech(dot)it>
To: pgsql-admin(at)postgresql(dot)org
Subject: error on launching postgres in ssl mode
Date: 2005-07-27 08:26:47
Message-ID: 5100.217.221.180.103.1122452807.squirrel@webmail.k-tech.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

hello.....I've created the server.key and server.crt in this manner:

openssl req -new -nodes -keyout server.key -out server.csr

openssl req -key /home/data/server.key -in /home/data/server.csr -out
server.crt

then:

chmod 700 /home/data/server.key /home/data/server.crt

chown postgres:postgres /home/data/server.key /home/data/server.crt

and I put theese in my data home.

I launch postgres in this manner:

postmaster -il -p '$PGPORT' -D '$PGDATA_LOCAL' ${PGOPTS} &

when I launch it I have this error:

FATAL: could not load server certificate file "/home/data/server.crt": no
start line

why?

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Marco Rademeyer 2005-07-27 09:49:59 Database disappeared
Previous Message Gnanavel S 2005-07-27 07:08:49 Re: User Define Functions