pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Luca Stancapiano <l.stancapiano@k-tech.it>
Cc: pgsql-admin@postgresql.org
Subject: Re: error on launching postgres in ssl mode
Date: Wed, 27 Jul 2005 10:13:12 -0400
Message-ID: <25581.1122473592@sss.pgh.pa.us> (raw)
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>

"Luca Stancapiano" <l.stancapiano@k-tech.it> writes:
> 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

> ...

> when I launch it I have this error:

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

> why?

You're asking the wrong people: you should be asking some SSL experts.

All I can say about the above process is that it doesn't match the
example key creation process given in our documentation.  I suppose
you have messed up the "openssl req" steps but I don't know just how.

			regards, tom lane



view thread (2+ messages)

Message-ID: <25581.1122473592@sss.pgh.pa.us>
Permalink:  ../25581.1122473592@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25581.1122473592@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, l.stancapiano@k-tech.it
  Subject: Re: error on launching postgres in ssl mode
  In-Reply-To: <25581.1122473592@sss.pgh.pa.us>
  References: <5100.217.221.180.103.1122452807.squirrel@webmail.k-tech.it> <25581.1122473592@sss.pgh.pa.us>

* 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