Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

Next:From: Marco RademeyerDate: 2005-07-27 09:49:59
Subject: Database disappeared
Previous:From: Gnanavel SDate: 2005-07-27 07:08:49
Subject: Re: User Define Functions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group