pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Luca Stancapiano <l.stancapiano@k-tech.it>
To: pgsql-admin@postgresql.org
Subject: error on launching postgres in ssl mode
Date: Wed, 27 Jul 2005 10:26:47 +0200 (CEST)
Message-ID: <5100.217.221.180.103.1122452807.squirrel@webmail.k-tech.it> (raw)

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?



view thread (2+ messages)  latest in thread

Message-ID: <5100.217.221.180.103.1122452807.squirrel@webmail.k-tech.it>
Permalink:  ../5100.217.221.180.103.1122452807.squirrel@webmail.k-tech.it/
Also on:    postgresql.org/message-id/5100.217.221.180.103.1122452807.squirrel@webmail.k-tech.it

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: l.stancapiano@k-tech.it
  Subject: Re: error on launching postgres in ssl mode
  In-Reply-To: <5100.217.221.180.103.1122452807.squirrel@webmail.k-tech.it>
  References: <5100.217.221.180.103.1122452807.squirrel@webmail.k-tech.it>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox